mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Switch irc.queueMsg to irc.reply
This commit is contained in:
parent
7e01b8a74d
commit
7fd9859682
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user