diff options
| author | Cerapter <cerap@protonmail.com> | 2018-08-19 08:03:39 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-08-19 08:03:39 +0200 |
| commit | 457a5e39fcb0f34477c7ac22c5ed8919f6522eec (patch) | |
| tree | 3f1ad028c0b073fc9178177fb0c592218efa5eab /server/commands.py | |
| parent | b9f1998c93067d29e5b2cea4d30d95229c27a810 (diff) | |
Jukebox fixes: check if jukebox exists + blockDJ removes vote.
Diffstat (limited to 'server/commands.py')
| -rw-r--r-- | server/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/commands.py b/server/commands.py index a3c3ce8d..5dfe0300 100644 --- a/server/commands.py +++ b/server/commands.py @@ -812,6 +812,7 @@ def ooc_cmd_blockdj(client, arg): for target in targets: target.is_dj = False target.send_host_message('A moderator muted you from changing the music.') + target.area.remove_jukebox_vote(target, True) client.send_host_message('blockdj\'d {}.'.format(targets[0].get_char_name())) def ooc_cmd_unblockdj(client, arg): |
