I built a bot that monitors a couple channels on irc.freenode.com. However, after a while the bot is sent a 470 forward message and appears to be disconnected from the channels one by one.
:morgan.freenode.net 470 ircbot #linux ##linux :Forwarding to another channel
What is the correct way to handle this? Was I placed in this new channel because of inactivity? Should I rejoin the channel? Should I rejoin the server?
This is caused by mode
+f– forward uninvited.Essentially, this mode allows operators to forward non-excepted users to a secondary channel. Presumably this is intended behavior by the channel operators, although you could attempt to rejoin the primary channel – you would have to contact the channel operators with any channel-specific policy questions.
Excerpts from the Freenode documentation:
Supporting source