mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-30 23:41:07 -05:00
RelayNext: exempt the bot from ignore checking
This commit is contained in:
parent
a432ab7d5b
commit
a05567620b
@ -221,7 +221,7 @@ class RelayNext(callbacks.Plugin):
|
||||
|
||||
# Check for ignored events first
|
||||
ignoredevents = map(str.upper, self.registryValue('events.userIgnored', channel))
|
||||
if msg.command in ignoredevents and ircdb.checkIgnored(msg.prefix, channel):
|
||||
if msg.command in ignoredevents and msg.nick != irc.nick and ircdb.checkIgnored(msg.prefix, channel):
|
||||
self.log.debug("RelayNext (%s): ignoring message from %s",
|
||||
irc.network, msg.prefix)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user