Server default rules now of all kinds rather than all being at lowest prio.

This commit is contained in:
David Baker 2015-02-05 14:46:06 +00:00
parent f90782a658
commit 2df41aa138
4 changed files with 98 additions and 51 deletions

View file

@ -0,0 +1,8 @@
PRIORITY_CLASS_MAP = {
'underride': 1,
'sender': 2,
'room': 3,
'content': 4,
'override': 5,
}
PRIORITY_CLASS_INVERSE_MAP = {v: k for k, v in PRIORITY_CLASS_MAP.items()}