ignore messages addressed to bot directly, in the messageparser.

This commit is contained in:
Daniel Folkinshteyn 2010-03-17 23:54:28 -04:00
parent 629ede010a
commit 76d25a193b

View File

@ -129,6 +129,8 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
if not irc.isChannel(channel):
return
if self.registryValue('enable', channel):
if callbacks.addressed(irc.nick, msg): #message is direct command
return
actions = []
db = self.getDb(channel)
cursor = db.cursor()