mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
MessageParser: Order @list output with id, instead of random order.
This commit is contained in:
parent
4069b2eba1
commit
42f5b02d30
@ -387,7 +387,7 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
"""
|
"""
|
||||||
db = self.getDb(channel)
|
db = self.getDb(channel)
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
cursor.execute("SELECT regexp, id FROM triggers")
|
cursor.execute("SELECT regexp, id FROM triggers ORDER BY id")
|
||||||
results = cursor.fetchall()
|
results = cursor.fetchall()
|
||||||
if len(results) != 0:
|
if len(results) != 0:
|
||||||
regexps = results
|
regexps = results
|
||||||
|
Loading…
Reference in New Issue
Block a user