mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-05-03 00:41:14 -05:00
removed useless code about extends bans
This commit is contained in:
parent
d235f1abc7
commit
7f7b8f7d16
@ -177,9 +177,6 @@ def match (pattern,n,irc):
|
||||
else:
|
||||
k = pattern[(pattern.rfind(':')+1):]
|
||||
cache[key] = matchHostmask(k,n)
|
||||
elif pattern.find(':') != -1:
|
||||
p = pattern[(pattern.rfind(':')+1):]
|
||||
cache[key] = matchHostmask(p,n)
|
||||
else:
|
||||
if ircutils.isUserHostmask(pattern):
|
||||
cache[key] = matchHostmask(pattern,n)
|
||||
|
Loading…
x
Reference in New Issue
Block a user