From e826ebde490d4471bdd251f44f2f74d561ce6def Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 19 Oct 2004 02:57:40 +0000 Subject: [PATCH] Fixed. --- plugins/URL.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/plugins/URL.py b/plugins/URL.py index 4a6af90c2..7ed09d193 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -42,7 +42,7 @@ import re import supybot.dbi as dbi import supybot.conf as conf import supybot.utils as utils -from supybot.commands import wrap +from supybot.commands import * import supybot.ircmsgs as ircmsgs import supybot.ircutils as ircutils import supybot.webutils as webutils @@ -202,13 +202,10 @@ class URL(callbacks.PrivmsgCommandAndRegexp): # We should optimize this with another URLDB method eventually. s = urls[0] irc.reply(s) - last = wrap(last, ['channeldb'], getopts={'from': 'text', - 'with': 'text', - 'near': 'text', - 'proto': 'text', - 'nolimit': '', - 'without': 'text',}) - + last = wrap(last, ['channeldb', + getopts({'from': 'text', 'with': 'text', + 'near': 'text', 'proto': 'text', + 'nolimit': '', 'without': 'text',})]) Class = URL