diff options
-rwxr-xr-x | fot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ class Bot(irc.IRCClient): def privmsg(self, nick, channel, msg): priv = channel == self.nickname # filter out server stuff - if not priv and not '!' in nick: + if not priv and not channel[:1] in irc.CHANNEL_PREFIXES: return for mod in self.msg_callbacks: |