mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +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):
|
if not irc.isChannel(channel):
|
||||||
return
|
return
|
||||||
if self.registryValue('enable', channel):
|
if self.registryValue('enable', channel):
|
||||||
|
if callbacks.addressed(irc.nick, msg): #message is direct command
|
||||||
|
return
|
||||||
actions = []
|
actions = []
|
||||||
db = self.getDb(channel)
|
db = self.getDb(channel)
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
|
Loading…
Reference in New Issue
Block a user