From 5e07947f740326a8617c91a46a2f48681ef630ef Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 19 May 2005 23:52:53 +0000 Subject: [PATCH] plugins/Ctcp: Fix another utils.commaAndify bug. --- plugins/Ctcp/plugin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/Ctcp/plugin.py b/plugins/Ctcp/plugin.py index 8e29a8d39..9c4da07c5 100644 --- a/plugins/Ctcp/plugin.py +++ b/plugins/Ctcp/plugin.py @@ -40,7 +40,7 @@ import supybot.callbacks as callbacks class Ctcp(callbacks.PluginRegexp): public = False regexps = ('ctcpPing', 'ctcpVersion', 'ctcpUserinfo', - 'ctcpTime', 'ctcpFinger', 'ctcpSource') + 'ctcpTime', 'ctcpFinger', 'ctcpSource') def __init__(self, irc): self.__parent = super(Ctcp, self) self.__parent.__init__(irc) @@ -66,7 +66,7 @@ class Ctcp(callbacks.PluginRegexp): self.ignores[ignoreMask] = now + expires return self.__parent.callCommand(command, irc, msg, *args, **kwargs) - + def _reply(self, irc, msg, s): s = '\x01%s\x01' % s irc.reply(s, notice=True, private=True, to=msg.nick) @@ -115,7 +115,7 @@ class Ctcp(callbacks.PluginRegexp): return if version == 'VERSION': self.versions.setdefault(payload, []).append(msg.nick) - + def version(self, irc, msg, args, channel, optlist): """[] [--nicks] @@ -139,7 +139,7 @@ class Ctcp(callbacks.PluginRegexp): L.append(format('%L responded with %q', nicks, reply)) else: L.append(reply) - irc.reply(utils.commaAndify(L)) + irc.reply(format('%L', L)) else: irc.reply('I received no version responses.') wait = self.registryValue('versionWait')