summaryrefslogtreecommitdiff
path: root/damnspam.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-08-08 05:42:03 +0200
committerjomo <github@jomo.tv>2014-08-08 05:42:03 +0200
commit5361e0d8db1579d318ffdcb370b64a4728bfb1f2 (patch)
treed74e1f941f1d161dc037ac0f13c1a6558095e13e /damnspam.py
parentd0acf1bd3604450f67fc1cc4729f70de6906179f (diff)
move line to correct position
Diffstat (limited to 'damnspam.py')
-rw-r--r--damnspam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/damnspam.py b/damnspam.py
index 54cbc24..7df9cb6 100644
--- a/damnspam.py
+++ b/damnspam.py
@@ -109,11 +109,11 @@ def on_block_break(event):
removing_input = True
test_event = BlockBreakEvent(block, sender)
server.getPluginManager().callEvent(test_event)
+ removing_input = False
if test_event.isCancelled():
event.setCancelled(True)
msg(sender, "&cYou are not allowed to remove this input")
return True
- removing_input = False
inputs.pop(pos_str) # remove
save_inputs()
msg(sender, "&eSuccessfully removed this input!")