RelayNext: check for channel ignores too

lalala nothing to see here
This commit is contained in:
James Lu 2016-03-27 09:52:52 -07:00
parent 8d30c20a1e
commit a432ab7d5b

View File

@ -221,7 +221,7 @@ class RelayNext(callbacks.Plugin):
# Check for ignored events first # Check for ignored events first
ignoredevents = map(str.upper, self.registryValue('events.userIgnored', channel)) ignoredevents = map(str.upper, self.registryValue('events.userIgnored', channel))
if msg.command in ignoredevents and ircdb.checkIgnored(msg.prefix): if msg.command in ignoredevents and ircdb.checkIgnored(msg.prefix, channel):
self.log.debug("RelayNext (%s): ignoring message from %s", self.log.debug("RelayNext (%s): ignoring message from %s",
irc.network, msg.prefix) irc.network, msg.prefix)
return return