ShrinkUrl: Fix previous commit.

This commit is contained in:
Valentin Lorentz 2015-11-11 12:20:44 +00:00
parent c65762544c
commit 534fb5c78f

View File

@ -125,7 +125,7 @@ class ShrinkUrl(callbacks.PluginRegexp):
def outFilter(self, irc, msg): def outFilter(self, irc, msg):
if msg.command != 'PRIVMSG': if msg.command != 'PRIVMSG':
return return msg
channel = msg.args[0] channel = msg.args[0]
if irc.isChannel(channel): if irc.isChannel(channel):
if not msg.shrunken: if not msg.shrunken: