summaryrefslogtreecommitdiffstats
path: root/Reaktor/titlebot/commands/undo
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-07-08 18:29:19 +0200
committermakefu <github@syntax-fehler.de>2014-07-08 18:29:19 +0200
commitfcf4a7f64463a8190260ab2c138e428f07cadee7 (patch)
tree938f718f0fffa71493e86ca42afdd0d6596afbcd /Reaktor/titlebot/commands/undo
parent033ce69ba717841f5c9834f4680cdd6db625ce4b (diff)
parentda8f9b0ea4c73aa90244f8e9eba4d1f5af9af611 (diff)
Merge branch 'master' of ssh://github.com/krebscode/painload
Diffstat (limited to 'Reaktor/titlebot/commands/undo')
-rwxr-xr-xReaktor/titlebot/commands/undo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/titlebot/commands/undo b/Reaktor/titlebot/commands/undo
index a66de67f..e1b0abab 100755
--- a/Reaktor/titlebot/commands/undo
+++ b/Reaktor/titlebot/commands/undo
@@ -15,7 +15,7 @@ except:
print("""usage: undo number (...)
undos vote of one or more entries based on .list""")
sys.exit(1)
-voter = environ['_prefix']
+voter = environ['_prefix'].split("@")[1]
voter_name = environ['_from']
for vote in votes:
try: