mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
spammer: fix allowed list check
This commit is contained in:
parent
e6888fde5d
commit
d56c6dd61b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def OnMessage(event,*args,**kwargs):
|
||||||
link=kwargs['link']
|
link=kwargs['link']
|
||||||
if IsAdmin(link):
|
if IsAdmin(link):
|
||||||
return
|
return
|
||||||
if link.nick in config.allowed:
|
if config.spammer_allowed and link.user.nick in config.spammer_allowed:
|
||||||
return
|
return
|
||||||
|
|
||||||
line=re.sub(r'\x03[0-9]?[0-9]?','',line)
|
line=re.sub(r'\x03[0-9]?[0-9]?','',line)
|
||||||
|
|
Loading…
Reference in a new issue