mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
quote regexp in rank output.
This commit is contained in:
parent
15a4b45801
commit
1a3d6c3821
@ -358,7 +358,7 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler):
|
||||
ORDER BY usage_count DESC
|
||||
LIMIT ?""", (numregexps,))
|
||||
regexps = cursor.fetchall()
|
||||
s = [ "#%d %s (%d)" % (i+1, regexp[0], regexp[1]) for i, regexp in enumerate(regexps) ]
|
||||
s = [ "#%d \"%s\" (%d)" % (i+1, regexp[0], regexp[1]) for i, regexp in enumerate(regexps) ]
|
||||
irc.reply(", ".join(s))
|
||||
rank = wrap(rank, ['channel'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user