From c1a7dfade501c99ddf5bb38ef976ba2e100195b2 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Mon, 7 Jun 2010 12:08:02 +0100 Subject: [PATCH] cmd not command --- commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.py b/commands.py index 1bc6ca1..da92990 100644 --- a/commands.py +++ b/commands.py @@ -334,7 +334,7 @@ def urlq(bot, cmd, nick, conn, public,urldb): bot.automsg(False,nick,"Please use 'url' only with http URLs") return - urlstring=urlre.search(command).group(1) + urlstring=urlre.search(cmd).group(1) url=canonical_url(urlstring) if (url in urldb): T = urldb[url] -- 2.30.2