Switch irc.queueMsg to irc.reply

This commit is contained in:
James Vega 2003-10-23 14:59:03 +00:00
parent 7e01b8a74d
commit 7fd9859682

View File

@ -132,7 +132,7 @@ class Infobot(callbacks.PrivmsgRegexp):
(nick, key) = match.groups() (nick, key) = match.groups()
try: try:
s = '%s wants you to know that %s' %(msg.nick,self.getFactoid(key)) s = '%s wants you to know that %s' %(msg.nick,self.getFactoid(key))
irc.queueMsg(ircmsgs.privmsg(nick, s)) irc.reply(nick, s)
except KeyError: except KeyError:
irc.reply(msg, 'I don\'t know anything about %s' % key) irc.reply(msg, 'I don\'t know anything about %s' % key)