mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +01:00
Using 'was url)' caused problems since () are legal characters in a url.
Switched to 'was <url>)' for tinysnarf replies.
This commit is contained in:
parent
25aacc3cd7
commit
c32939ffb1
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user