Added ignoring check in PrivmsgRegexp.

This commit is contained in:
Jeremy Fincher 2003-04-20 01:28:40 +00:00
parent f6488d6071
commit 92250ca055
1 changed files with 2 additions and 0 deletions

View File

@ -446,6 +446,8 @@ class PrivmsgRegexp(Privmsg):
debug.msg(s)
def doPrivmsg(self, irc, msg):
if ircdb.checkIgnore(msg.prefix, msg.args[0]):
return
for (r, method) in self.res:
m = r.search(msg.args[1])
if m: