Changed ircutils.reply to ircutils.replyTo

This commit is contained in:
Jeremy Fincher 2003-04-04 06:59:39 +00:00
parent 20032a089a
commit 40b8eb3956
3 changed files with 3 additions and 3 deletions

View File

@ -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],

View File

@ -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

View File

@ -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: