Filter: Extend outfilter to cover NOTICEs. Closes GH-1164.

This commit is contained in:
Valentin Lorentz 2016-01-02 13:32:03 +01:00
parent 72ce405962
commit 1010ea244b
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class Filter(callbacks.Plugin):
self.outFilters = ircutils.IrcDict()
def outFilter(self, irc, msg):
if msg.command == 'PRIVMSG':
if msg.command in ('PRIVMSG', 'NOTICE'):
if msg.args[0] in self.outFilters:
if ircmsgs.isAction(msg):
s = ircmsgs.unAction(msg)