summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fot.py b/fot.py
index 2bb51af..9b0d548 100755
--- a/fot.py
+++ b/fot.py
@@ -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: