mirror of
https://github.com/wownero/tippero.git
synced 2026-10-17 15:51:33 +02:00
spammer: fix allowed list check
This commit is contained in:
@@ -71,7 +71,7 @@ def OnMessage(event,*args,**kwargs):
|
||||
link=kwargs['link']
|
||||
if IsAdmin(link):
|
||||
return
|
||||
if link.nick in config.allowed:
|
||||
if config.spammer_allowed and link.user.nick in config.spammer_allowed:
|
||||
return
|
||||
|
||||
line=re.sub(r'\x03[0-9]?[0-9]?','',line)
|
||||
|
||||
Reference in New Issue
Block a user