diff options
Diffstat (limited to 'Reaktor/titlebot/commands')
-rwxr-xr-x | Reaktor/titlebot/commands/undo | 2 | ||||
-rwxr-xr-x | Reaktor/titlebot/commands/up | 2 |
2 files changed, 2 insertions, 2 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: diff --git a/Reaktor/titlebot/commands/up b/Reaktor/titlebot/commands/up index 0a48bdb0..7aff5944 100755 --- a/Reaktor/titlebot/commands/up +++ b/Reaktor/titlebot/commands/up @@ -15,7 +15,7 @@ if not votes: upvotes 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: |