mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
spammer: Allow exprs to be in the middle
This commit is contained in:
parent
82510c0f88
commit
14be174cb6
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def OnMessage(event,*args,**kwargs):
|
||||||
|
|
||||||
log_info("Testing: " + line)
|
log_info("Testing: " + line)
|
||||||
for expr in ["astounding!", "triple your btc!", "pm me to begin!", "hatt uu"]:
|
for expr in ["astounding!", "triple your btc!", "pm me to begin!", "hatt uu"]:
|
||||||
if re.match(expr+".*",line):
|
if re.match(.*+expr+".*",line):
|
||||||
link=kwargs['link']
|
link=kwargs['link']
|
||||||
Ban(link)
|
Ban(link)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue