diff options
| author | Cerapter <cerap@protonmail.com> | 2018-08-24 18:48:13 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-08-24 18:48:13 +0200 |
| commit | 6d278330a2299fb00937622ad40725f23898794c (patch) | |
| tree | a16f9f168eb3106c972129b29d639b67219d9c60 /server/client_manager.py | |
| parent | 91ad46eea043673b188f5b5d4be49d66e0b7ba0d (diff) | |
`/getarea` now shows the CM, `/jukebox_toggle` and `/jukebox_skip` are now CM commands as well.
Diffstat (limited to 'server/client_manager.py')
| -rw-r--r-- | server/client_manager.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/client_manager.py b/server/client_manager.py index 709e0d8f..c5e0b10c 100644 --- a/server/client_manager.py +++ b/server/client_manager.py @@ -225,7 +225,10 @@ class ClientManager: sorted_clients.append(client) sorted_clients = sorted(sorted_clients, key=lambda x: x.get_char_name()) for c in sorted_clients: - info += '\r\n[{}] {}'.format(c.id, c.get_char_name()) + info += '\r\n' + if c.is_cm: + info +='[CM]' + info += '[{}] {}'.format(c.id, c.get_char_name()) if self.is_mod: info += ' ({})'.format(c.ipid) info += ': {}'.format(c.name) |
