summaryrefslogtreecommitdiffstats
path: root/Reaktor/titlebot/commands/undo
diff options
context:
space:
mode:
authorroot <root@pigstarter.de>2014-06-13 13:18:21 +0200
committerroot <root@pigstarter.de>2014-06-13 13:18:21 +0200
commitefceaa1b78cea56d1e9c691fddbddc40b7357824 (patch)
treecab27b0cad4524adb9e2ac84929335157c33b680 /Reaktor/titlebot/commands/undo
parent7ec9bdfc7e155903573968fdd1e5530e243a4bcb (diff)
update bgt titlebot
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: