now really don't warn in -ops

This commit is contained in:
Elián Hanisch
2010-06-30 13:38:14 -03:00
parent 9c990ac7e6
commit 5024069d33

View File

@ -527,6 +527,7 @@ class Encyclopedia(callbacks.Plugin):
# !ops factoid called with an url, most likely spam.
# we filter the msg, but we still warn in -ops.
queue(irc, self.registryValue('relayChannel', channel), '%s called the ops in %s (%s)' % (msg.nick, msg.args[0], retmsg[:-2]))
self.alert = False
# do nothing
return
if doChanMsg and channel.lower() != irc.nick.lower() and target[0] != '#': # not /msg