From c32939ffb12d6d3626c517b263fd9afc1afdc013 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 7 Nov 2003 14:59:33 +0000 Subject: [PATCH] Using 'was url)' caused problems since () are legal characters in a url. Switched to 'was )' for tinysnarf replies. --- plugins/URL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/URL.py b/plugins/URL.py index 6b85d9c4a..670a0baf7 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -137,7 +137,7 @@ class URL(callbacks.Privmsg, plugins.Toggleable, plugins.ChannelDBHandler): cursor.execute("""INSERT INTO tinyurls VALUES (NULL, %s, %s)""", id, tinyurl) if self.toggles.get('tinyreply', channel=msg.args[0]): - irc.queueMsg(callbacks.reply(msg, '%s (was %s)' % + irc.queueMsg(callbacks.reply(msg, '%s (was <%s>)' % (ircutils.bold(tinyurl), url), prefixName=False)) key = (msg.nick, channel) self.nextMsgs.setdefault(key, []).append((url, added))