From 8dea8d47ae5ba759c7849c2adb628d823c9c4917 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 17 Nov 2003 08:36:07 +0000 Subject: [PATCH] Changed snarer to auction-snarfer. --- plugins/Ebay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Ebay.py b/plugins/Ebay.py index 007344f79..459e2c841 100644 --- a/plugins/Ebay.py +++ b/plugins/Ebay.py @@ -72,7 +72,7 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable): threaded = True regexps = ['ebaySnarfer'] configurables = plugins.ConfigurableDictionary( - [('snarfer', plugins.ConfigurableBoolType, True, + [('auction-snarfer', plugins.ConfigurableBoolType, True, """Determines whether the bot will automatically 'snarf' Ebay auction URLs and print information about them.""")] ) @@ -128,7 +128,7 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable): def ebaySnarfer(self, irc, msg, match): r"http://cgi\.ebay\.(?:com(?:.au)?|ca|co.uk)/(?:.*?/)?(?:ws/)?" \ r"eBayISAPI\.dll\?ViewItem(?:&item=\d+|&category=\d+)+" - if not self.configurables.get('snarfer', channel=msg.args[0]): + if not self.configurables.get('auction-snarfer', channel=msg.args[0]): return url = match.group(0) #debug.printf(url)