mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-28 22:41:06 -05:00
RelayNext: be channel-specific when looking at events to ignore
This commit is contained in:
parent
5ba2d46273
commit
8d30c20a1e
@ -220,7 +220,7 @@ class RelayNext(callbacks.Plugin):
|
||||
return
|
||||
|
||||
# Check for ignored events first
|
||||
ignoredevents = map(str.upper, self.registryValue('events.userIgnored'))
|
||||
ignoredevents = map(str.upper, self.registryValue('events.userIgnored', channel))
|
||||
if msg.command in ignoredevents and ircdb.checkIgnored(msg.prefix):
|
||||
self.log.debug("RelayNext (%s): ignoring message from %s",
|
||||
irc.network, msg.prefix)
|
||||
|
Loading…
x
Reference in New Issue
Block a user