diff options
| author | Cerapter <cerap@protonmail.com> | 2018-09-18 19:51:20 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-09-18 19:51:20 +0200 |
| commit | 0156849cc28c2cf1f32847beef6a0b27db6b5747 (patch) | |
| tree | f7f93b97b2f5b2ff71dff2a4708feb05314ac20d /server/evidence.py | |
| parent | 3de7e346babbfbb856a2a08f01cea2f431899eb5 (diff) | |
BEGINNINGS! of the multi-CM system.
- Allows people to become CMs of multiple areas.
- Allows people to appoint CMs besides themselves using `/cm id]`.
- CMs can now freely leave the areas they CM in without losing CM
status.
- CMs that own an area, but aren't there, still show up in them when
using `/getarea` with the `[RCM]` = Remote Case Manager tag.
- CMs get all IC and OOC messages from their areas.
- CMs can use `/s` to send a message to all the areas they own, or `/a
[area_id]` to send a message only to a specific area. This is usable
both IC and OOC.
Diffstat (limited to 'server/evidence.py')
| -rw-r--r-- | server/evidence.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/evidence.py b/server/evidence.py index efa2e254..b34172ad 100644 --- a/server/evidence.py +++ b/server/evidence.py @@ -39,13 +39,13 @@ class EvidenceList: if client.area.evidence_mod == 'FFA': pass if client.area.evidence_mod == 'Mods': - if not client.is_cm: + if not client in client.area.owners: return False if client.area.evidence_mod == 'CM': - if not client.is_cm and not client.is_mod: + if not client in client.area.owners and not client.is_mod: return False if client.area.evidence_mod == 'HiddenCM': - if not client.is_cm and not client.is_mod: + if not client in client.area.owners and not client.is_mod: return False return True |
