Browse Source

Enable too-many-messages-ignoring feature; chmod some py files

master
Sfan5 9 years ago
parent
commit
158a166d18
  1. 0
      admin.py
  2. 4
      antiabuse.py
  3. 0
      chop.py
  4. 0
      help.py
  5. 0
      reload.py
  6. 0
      seen.py
  7. 0
      shorten.py

4
antiabuse.py

@ -8,7 +8,7 @@ import time
antiabuse = {}
antiabuse["timeout"] = {}
antiabuse["ignorelist"] = ["KikaRz","LandMine","LandMineMT","markveidemanis"]
antiabuse["s_timeout"] = 2 # in Seconds
antiabuse["s_timeout"] = 3 # in Seconds
def aa_hook(phenny, input):
if input.admin or input.owner:
@ -23,7 +23,7 @@ def aa_hook(phenny, input):
ot = 0
antiabuse["timeout"][input.nick] = time.time()
if antiabuse["timeout"][input.nick] - antiabuse["s_timeout"] < ot:
#return True # abort command
return True # abort command
pass
return False

0
shorten.py

Loading…
Cancel
Save