From e26915e60b2277bb72f2d038b7009eced4ecfd1a Mon Sep 17 00:00:00 2001 From: Gordon Shumway Date: Mon, 3 Feb 2020 21:40:45 -0500 Subject: [PATCH] msg.args[0] -> channel --- ShrinkUrl/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShrinkUrl/plugin.py b/ShrinkUrl/plugin.py index 7a0250d..0e880ab 100644 --- a/ShrinkUrl/plugin.py +++ b/ShrinkUrl/plugin.py @@ -143,11 +143,11 @@ class ShrinkUrl(callbacks.PluginRegexp): return if self.registryValue('shrinkSnarfer', channel, network): url = match.group(0) - if self.registryValue("fetchSpiffyTitle", msg.args[0]): + if self.registryValue("fetchSpiffyTitle", channel): spiffy = irc.getCallback("SpiffyTitles") if spiffy: try: - result = SpiffyTitles.get_title_by_url(url, msg.args[0]) + result = SpiffyTitles.get_title_by_url(url, channel) if result: irc.reply(result, prefixNick=False) except: