mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Only tag the ircmsg if we actually get one back from irc.reply. We don't in situations like: @topic fit [tiny $url]
This commit is contained in:
parent
5020391a7c
commit
99696986f6
@ -197,6 +197,7 @@ class ShrinkUrl(callbacks.PluginRegexp):
|
||||
tinyurl = self._getTinyUrl(url)
|
||||
if tinyurl is not None:
|
||||
m = irc.reply(tinyurl)
|
||||
if m is not None:
|
||||
m.tag('shrunken')
|
||||
else:
|
||||
s = 'Could not parse the TinyURL.com results page.'
|
||||
|
Loading…
Reference in New Issue
Block a user