Reorder: Move the id to the front of the regexp it represents.

This commit is contained in:
Julian Paul Glass 2014-12-10 01:39:23 +00:00
parent 829e6c545c
commit 1d0685e02f

View File

@ -404,7 +404,7 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
irc.reply(_('There are no regexp triggers in the database.'))
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)
irc.reply(separator.join(s))
list = wrap(list, ['channelOrGlobal'])