Fixes #76 - use irc.queueMsg for all messages

This commit is contained in:
butterscotchstallion 2016-01-30 14:07:43 -05:00
parent f50d9307ac
commit b49d289ae1
1 changed files with 3 additions and 3 deletions

View File

@ -373,7 +373,7 @@ class SpiffyTitles(callbacks.Plugin):
if ignore_match:
return
else:
irc.sendMsg(ircmsgs.privmsg(channel, title))
irc.queueMsg(ircmsgs.privmsg(channel, title))
else:
if self.default_handler_enabled:
log.debug("SpiffyTitles: could not get a title for %s" % (url))
@ -441,9 +441,9 @@ class SpiffyTitles(callbacks.Plugin):
pass
if title is not None and title:
irc.sendMsg(ircmsgs.privmsg(channel, title))
irc.queueMsg(ircmsgs.privmsg(channel, title))
else:
irc.sendMsg(ircmsgs.privmsg(channel, error_message))
irc.queueMsg(ircmsgs.privmsg(channel, error_message))
t = wrap(t, ['text'])