summaryrefslogtreecommitdiff
path: root/damnspam.py
diff options
context:
space:
mode:
authorDico200 <dico.karssiens@gmail.com>2015-05-14 02:46:54 +0200
committerDico200 <dico.karssiens@gmail.com>2015-05-14 02:46:54 +0200
commit6fc168eb635c5a19d200359c282af1d204865a14 (patch)
treec5ab732040c5ea28588a2c3595587921b7866c58 /damnspam.py
parent83eb3a8885a2a1477b46f29a0034f824b59f534f (diff)
Fixes, tweaks, changes
Diffstat (limited to 'damnspam.py')
-rw-r--r--damnspam.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/damnspam.py b/damnspam.py
index c1576e9..6a4c2b3 100644
--- a/damnspam.py
+++ b/damnspam.py
@@ -143,11 +143,9 @@ def on_interact(event):
checktime = data["timeout_on"] if powered else data["timeout_off"]
if checktime == -1:
event.setCancelled(True)
- plugin_header(sender, "DamnSpam")
- msg(sender, "&cThis %s is locked permanently." % (btype))
+ msg(sender, "&cThis %s is locked permanently by /damnspam." % (btype))
elif data["last_time"] + checktime > now():
event.setCancelled(True)
- plugin_header(sender, "DamnSpam")
- msg(sender, "&cThis %s has a timeout of %ss." % (btype, checktime))
+ msg(sender, "&cThis %s has a damnspam timeout of %ss." % (btype, checktime))
else:
inputs[pos_str]["last_time"] = round(now(), 2)