This commit is contained in:
Nicolas Coevoet 2013-12-17 10:26:52 +01:00
parent 905a13e70c
commit 4075383d80

View File

@ -1902,7 +1902,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
banned = False
if c.bans:
for ban in c.bans:
if match (ban,n):
if match (ban,n,irc):
i.add(irc,channel,'b',best,-1,irc.prefix,self.getDb(irc.network))
banned = True
if best and not self._isVip(irc,channel,n) and not banned: