diff --git a/evennia/commands/cmdsethandler.py b/evennia/commands/cmdsethandler.py index 49611e54d2..1930aa3bce 100644 --- a/evennia/commands/cmdsethandler.py +++ b/evennia/commands/cmdsethandler.py @@ -451,10 +451,9 @@ class CmdSetHandler(object): """ if "permanent" in kwargs: logger.log_dep( - "obj.cmdset.add() kwarg 'permanent' has changed name to " - "'persistent' and now defaults to True." + "obj.cmdset.add() kwarg 'permanent' has changed name to 'persistent'." ) - persistent = kwargs["permanent"] if persistent is None else persistent + persistent = kwargs["permanent"] if persistent is False else persistent if not (isinstance(cmdset, str) or utils.inherits_from(cmdset, CmdSet)): string = _("Only CmdSets can be added to the cmdsethandler!")