aboutsummaryrefslogtreecommitdiff
path: root/server/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/commands.py')
-rw-r--r--server/commands.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/commands.py b/server/commands.py
index 701a82fa..14ae147d 100644
--- a/server/commands.py
+++ b/server/commands.py
@@ -152,7 +152,11 @@ def ooc_cmd_currentmusic(client, arg):
raise ArgumentError('This command has no arguments.')
if client.area.current_music == '':
raise ClientError('There is no music currently playing.')
- client.send_host_message('The current music is {} and was played by {}.'.format(client.area.current_music,
+ if client.is_mod:
+ client.send_host_message('The current music is {} and was played by {} ({}).'.format(client.area.current_music,
+ client.area.current_music_player, client.area.current_music_player_ipid))
+ else:
+ client.send_host_message('The current music is {} and was played by {}.'.format(client.area.current_music,
client.area.current_music_player))
def ooc_cmd_coinflip(client, arg):