From 40b8eb3956a6493a1635f8d1036090a0639c6d7a Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 4 Apr 2003 06:59:39 +0000 Subject: [PATCH] Changed ircutils.reply to ircutils.replyTo --- plugins/Forums.py | 2 +- plugins/Moobot.py | 2 +- src/ircutils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Forums.py b/plugins/Forums.py index 5f941eaac..22d18a695 100644 --- a/plugins/Forums.py +++ b/plugins/Forums.py @@ -68,7 +68,7 @@ class Forums(callbacks.PrivmsgRegexp): mThread = self._ggThread.search(text) mGroup = self._ggGroup.search(text) if mThread and mGroup: - irc.queueMsg(ircmsgs.privmsg(ircutils.reply(msg), + irc.queueMsg(ircmsgs.privmsg(ircutils.replyTo(msg), 'Google Groups: %s, %s' % (mGroup.group(1), mThread.group(1)))) else: irc.queueMsg(ircmsgs.privmsg(msg.args[0], diff --git a/plugins/Moobot.py b/plugins/Moobot.py index 79c127519..fb2ea23a3 100644 --- a/plugins/Moobot.py +++ b/plugins/Moobot.py @@ -218,7 +218,7 @@ class Moobot(callbacks.Privmsg): elif someone in ('yourself', 'you', irc.nick): someone = 'himself' response = 'gives %s %s' % (someone, something) - irc.queueMsg(ircmsgs.action(ircutils.reply(msg), response)) + irc.queueMsg(ircmsgs.action(ircutils.replyTo(msg), response)) Class = Moobot diff --git a/src/ircutils.py b/src/ircutils.py index 1efc50dee..06eceefa5 100644 --- a/src/ircutils.py +++ b/src/ircutils.py @@ -167,7 +167,7 @@ def safeArgument(s): else: return repr(s) -def reply(msg): +def replyTo(msg): if isChannel(msg.args[0]): return msg.args[0] else: