diff --git a/plugins/MessageParser/config.py b/plugins/MessageParser/config.py index 456feb023..f70dbdb24 100644 --- a/plugins/MessageParser/config.py +++ b/plugins/MessageParser/config.py @@ -64,5 +64,8 @@ conf.registerChannelValue(MessageParser, 'requireManageCapability', channel-level capabilities. Note that absence of an explicit anticapability means user has capability.""")) +conf.registerChannelValue(MessageParser, 'listSeparator', + registry.String(', ', """Determines the separator used between rexeps when + shown by the list command.""")) # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: diff --git a/plugins/MessageParser/plugin.py b/plugins/MessageParser/plugin.py index 7995e1677..62d8e9dad 100644 --- a/plugins/MessageParser/plugin.py +++ b/plugins/MessageParser/plugin.py @@ -368,7 +368,8 @@ class MessageParser(callbacks.Plugin, plugins.ChannelDBHandler): return s = [ "\"%s\" (%d)" % (regexp[0], regexp[1]) for regexp in regexps ] - irc.reply(', '.join(s)) + separator = self.registryValue('listSeparator', channel) + irc.reply(separator.join(s)) list = wrap(list, ['channel']) def rank(self, irc, msg, args, channel):