diff options
| author | Cerapter <cerap@protonmail.com> | 2018-09-02 23:00:53 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-09-02 23:00:53 +0200 |
| commit | 00bfa025a20025d06ac43eaf036ad76ac373b21b (patch) | |
| tree | 662e6b3ccccd87a4e0a067f448f4a09dd77af302 | |
| parent | 21f489a26194befb9398a4b53f1f06ffdccb75fd (diff) | |
Mate `/mute` and `/unmute` clearer.
| -rw-r--r-- | server/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/commands.py b/server/commands.py index c1d5ba86..0bd9c556 100644 --- a/server/commands.py +++ b/server/commands.py @@ -410,7 +410,7 @@ def ooc_cmd_mute(client, arg): ipid = int(raw_ipid) clients = client.server.client_manager.get_targets(client, TargetType.IPID, ipid, False) if (clients): - msg = 'Muted ' + str(ipid) + ' clients' + msg = 'Muted the IPID ' + str(ipid) + '\'s following clients:' for c in clients: c.is_muted = True logger.log_server('Muted {} [{}]({}).'.format(c.get_char_name(), c.id, c.ipid), client) @@ -436,7 +436,7 @@ def ooc_cmd_unmute(client, arg): ipid = int(raw_ipid) clients = client.server.client_manager.get_targets(client, TargetType.IPID, ipid, False) if (clients): - msg = 'Unmuted ' + str(ipid) + ' clients' + msg = 'Unmuted the IPID ' + str(ipid) + '\'s following clients::' for c in clients: c.is_muted = False logger.log_server('Unmuted {} [{}]({}).'.format(c.get_char_name(), c.id, c.ipid), client) |
