onSelfjoin

Registers a channel entry in IRCPluginState.channels

upon joining one.

This would normally be done using ChannelAwareness, but we only need the channel registration and not the whole user tracking, so just copy/paste these bits.

version(WithPollPlugin)
private
void
onSelfjoin