mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-29 14:12:38 +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)
|
||||
cursor = db.cursor()
|
||||
cursor.execute("SELECT regexp, id FROM triggers")
|
||||
cursor.execute("SELECT regexp, id FROM triggers ORDER BY id")
|
||||
results = cursor.fetchall()
|
||||
if len(results) != 0:
|
||||
regexps = results
|
||||
|
Loading…
Reference in New Issue
Block a user