Make sure to forward no_channels, no_objs and no_exits flags across cmdset merges. Also changes how system commands are saved across merges. Resolves Issue 243.

This commit is contained in:
Griatch 2012-06-20 21:16:34 +02:00
parent c2961ce5e2
commit 44bf35cd81
4 changed files with 42 additions and 16 deletions

View file

@ -828,6 +828,7 @@ class Exit(Object):
locks = "cmd:all()" # should always be set to this.
obj = None
arg_regex=r"\s.*?|$"
is_exit = True # this helps cmdhandler disable exits in cmdsets with no_exits=True.
def func(self):
"Default exit traverse if no syscommand is defined."