Made cmdhandler respect an explicit True/False setting.

This commit is contained in:
Griatch 2015-03-22 17:22:59 +01:00
parent 3f1a887841
commit 5863ef29a8
2 changed files with 7 additions and 3 deletions

View file

@ -128,7 +128,9 @@ class CmdSet(object):
key = "Unnamed CmdSet"
mergetype = "Union"
priority = 0
duplicates = False
# if None, the cmdhandler will switch to True for objects and stay False otherwise.
# Explicitly set True/False will be kept.
duplicates = None
key_mergetypes = {}
no_exits = False
no_objs = False