From 55f6162b14ab04790aa9e63d620c24c937f5471c Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Thu, 15 Jan 2015 14:03:58 +0100 Subject: [PATCH] fix --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 8f9fc96..e03aab3 100644 --- a/plugin.py +++ b/plugin.py @@ -94,7 +94,7 @@ def matchHostmask (pattern,n): cache[n.prefix] = L[0] n.setIp(L[0]) except: - t = t + t = '' if n.ip != None and ircutils.hostmaskPatternEqual(pattern,'%s!%s@%s' % (nick,ident,n.ip)): return '%s!%s@%s' % (nick,ident,n.ip) if ircutils.hostmaskPatternEqual(pattern,n.prefix):