From b49d289ae1c3873fa848450420cefccebe20c52d Mon Sep 17 00:00:00 2001 From: butterscotchstallion Date: Sat, 30 Jan 2016 14:07:43 -0500 Subject: [PATCH] Fixes #76 - use irc.queueMsg for all messages --- plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.py b/plugin.py index 5c29830..90e8c48 100644 --- a/plugin.py +++ b/plugin.py @@ -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'])