From a94baf6708617cc607efbc0b37f9f520710af96d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Fri, 7 Mar 2014 10:16:13 -0600 Subject: [PATCH] [FloodProtector] Lower log level of messages --- FloodProtector/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FloodProtector/plugin.py b/FloodProtector/plugin.py index d2c05a0..60870e4 100644 --- a/FloodProtector/plugin.py +++ b/FloodProtector/plugin.py @@ -130,14 +130,14 @@ class FloodProtector(callbacks.Plugin): return if msg.nick in self.immunities: - self.log.warning("Not punnishing %s, they are immune.", + self.log.debug("Not punnishing %s, they are immune.", msg.nick) return if msg.nick in irc.state.channels[channel].ops or\ msg.nick in irc.state.channels[channel].halfops or\ msg.nick in irc.state.channels[channel].voices: - self.log.warning("%s flooded in %s. But"\ + self.log.debug("%s flooded in %s. But"\ + " I will not punish them because they have"\ + " special access.", msg.nick, channel) return @@ -145,7 +145,7 @@ class FloodProtector(callbacks.Plugin): if ircdb.checkCapability(msg.prefix, 'trusted') or\ ircdb.checkCapability(msg.prefix, 'admin') or\ ircdb.checkCapability(msg.prefix, channel + ',op'): - self.log.warning("%s flooded in %s. But"\ + self.log.debug("%s flooded in %s. But"\ + " I will not punish them because they are"\ + " trusted.", msg.nick, channel) return