mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-04-25 17:27:52 +02:00
Fix previous commit. Thanks to Nothing4You.
This commit is contained in:
parent
cb48f667ae
commit
c3f2bfdfc9
@ -158,7 +158,7 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
return
|
return
|
||||||
actions = []
|
actions = []
|
||||||
results = []
|
results = []
|
||||||
for channel in map(plugins.getChannel, (channel, 'global')):
|
for channel in set(map(plugins.getChannel, (channel, 'global'))):
|
||||||
db = self.getDb(channel)
|
db = self.getDb(channel)
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
cursor.execute("SELECT regexp, action FROM triggers")
|
cursor.execute("SELECT regexp, action FROM triggers")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user