From 05c6813dd908c4fbde0b91a69b6e66ed3d19c45e Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 9 Jan 2018 18:51:07 +0100 Subject: [PATCH] Fix error in nick deletion parsing --- evennia/commands/default/general.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/evennia/commands/default/general.py b/evennia/commands/default/general.py index 8a9b79f94d..a6d6c40e48 100644 --- a/evennia/commands/default/general.py +++ b/evennia/commands/default/general.py @@ -89,7 +89,7 @@ class CmdNick(COMMAND_DEFAULT_CLASS): inputline - replace on the inputline (default) object - replace on object-lookup account - replace on account-lookup - delete - remove nick by name or by index given by /list + delete - remove nick by name or by index in /list clearall - clear all nicks list - show all defined aliases (also "nicks" works) @@ -125,7 +125,7 @@ class CmdNick(COMMAND_DEFAULT_CLASS): Support escaping of = with \= """ super(CmdNick, self).parse() - args = (self.lhs or "") + " = %s" % self.rhs if self.rhs else "" + args = (self.lhs or "") + (" = %s" % self.rhs if self.rhs else "") parts = re.split(r"(?