From a05567620b0c6ff9fd748b8fcde6d76e4606eb84 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 27 Mar 2016 10:20:15 -0700 Subject: [PATCH] RelayNext: exempt the bot from ignore checking --- RelayNext/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RelayNext/plugin.py b/RelayNext/plugin.py index 8fa0b8e..c052a5d 100644 --- a/RelayNext/plugin.py +++ b/RelayNext/plugin.py @@ -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