mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-21 02:02:53 +01:00
Reorder: Move the id to the front of the regexp it represents.
This commit is contained in:
parent
829e6c545c
commit
1d0685e02f
@ -404,7 +404,7 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
irc.reply(_('There are no regexp triggers in the database.'))
|
irc.reply(_('There are no regexp triggers in the database.'))
|
||||||
return
|
return
|
||||||
|
|
||||||
s = [ "\"%s\" (%d)" % (regexp[0], regexp[1]) for regexp in regexps ]
|
s = [ "(%d) \"%s\"" % (regexp[1], regexp[0]) for regexp in regexps ]
|
||||||
separator = self.registryValue('listSeparator', channel)
|
separator = self.registryValue('listSeparator', channel)
|
||||||
irc.reply(separator.join(s))
|
irc.reply(separator.join(s))
|
||||||
list = wrap(list, ['channelOrGlobal'])
|
list = wrap(list, ['channelOrGlobal'])
|
||||||
|
Loading…
Reference in New Issue
Block a user