mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
ignore messages addressed to bot directly, in the messageparser.
This commit is contained in:
parent
629ede010a
commit
76d25a193b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user