aboutsummaryrefslogtreecommitdiff
path: root/server/commands.py
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-08-27 16:04:53 +0200
committerCerapter <cerap@protonmail.com>2018-08-27 16:04:53 +0200
commit0fb3b7edbfdc712710347aba05ce51316660a891 (patch)
treeaf551229edd02b674c5f90b03c00991fa0f18123 /server/commands.py
parentc01857063b72f4b5bff21b78ce4a28d463a6d5d2 (diff)
Jukebox fixes: clear on toggle, don't show 'has played' with one person.
Diffstat (limited to 'server/commands.py')
-rw-r--r--server/commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/commands.py b/server/commands.py
index 7c212baf..bf1cc7e3 100644
--- a/server/commands.py
+++ b/server/commands.py
@@ -174,6 +174,7 @@ def ooc_cmd_jukebox_toggle(client, arg):
if len(arg) != 0:
raise ArgumentError('This command has no arguments.')
client.area.jukebox = not client.area.jukebox
+ client.area.jukebox_votes = []
changer = 'Unknown'
if client.is_cm:
changer = 'The CM'