in listall, put id in parentheses /outside/ the quotes.

This commit is contained in:
Daniel Folkinshteyn 2010-03-19 15:54:54 -04:00
parent 65ed84a45a
commit 770d407d1c

View File

@ -338,8 +338,8 @@ 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 ]
irc.reply('"' + '","'.join(s) + '"')
s = [ "\"%s\" (%d)" % (regexp[0], regexp[1]) for regexp in regexps ]
irc.reply(', '.join(s))
listall = wrap(listall, ['channel'])
def triggerrank(self, irc, msg, args, channel):