Changed the relative priorities of cmdsets to the following: -100(Empty), -20(Session), -10(Player), 0(Character), 101(Exit), 120(Channel)

This commit is contained in:
Griatch 2014-02-16 01:38:27 +01:00
parent dbe49bb778
commit 638483fa66
6 changed files with 6 additions and 6 deletions

View file

@ -81,7 +81,7 @@ class _ErrorCmdSet(CmdSet):
class _EmptyCmdSet(CmdSet):
"This cmdset represents an empty cmdset"
key = "_EMPTY_CMDSET"
priority = -100
priority = -101
mergetype = "Union"
def import_cmdset(python_path, cmdsetobj, emit_to_obj=None, no_logging=False):

View file

@ -814,7 +814,7 @@ class BatchSafeCmdSet(CmdSet):
always be available to get out of everything.
"""
key = "Batch_default"
priority = 104 # override other cmdsets.
priority = 150 # override other cmdsets.
def at_cmdset_creation(self):
"Init the cmdset"

View file

@ -20,7 +20,7 @@ class PlayerCmdSet(CmdSet):
"""
key = "DefaultPlayer"
priority = -5
priority = -10
def at_cmdset_creation(self):
"Populates the cmdset"

View file

@ -9,7 +9,7 @@ class SessionCmdSet(CmdSet):
Sets up the unlogged cmdset.
"""
key = "DefaultSession"
priority = -7
priority = -20
def at_cmdset_creation(self):
"Populate the cmdset"