From 7fd98596822c635c5f3751167ce5fcac0fa6e082 Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 23 Oct 2003 14:59:03 +0000 Subject: [PATCH] Switch irc.queueMsg to irc.reply --- plugins/Infobot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Infobot.py b/plugins/Infobot.py index 04c69c726..8c40fd0a8 100755 --- a/plugins/Infobot.py +++ b/plugins/Infobot.py @@ -132,7 +132,7 @@ class Infobot(callbacks.PrivmsgRegexp): (nick, key) = match.groups() try: 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: irc.reply(msg, 'I don\'t know anything about %s' % key)