mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Fix nix traceback. Resolves #1761.
This commit is contained in:
parent
855e7f32b0
commit
b45cdcf8c2
1 changed files with 3 additions and 1 deletions
|
|
@ -211,7 +211,9 @@ class CmdNick(COMMAND_DEFAULT_CLASS):
|
|||
if not specified_nicktype:
|
||||
nicktypes = ("object", "account", "inputline")
|
||||
for nicktype in nicktypes:
|
||||
nicks = utils.make_iter(caller.nicks.get(category=nicktype, return_obj=True))
|
||||
nicks = [nick for nick in
|
||||
utils.make_iter(caller.nicks.get(category=nicktype, return_obj=True))
|
||||
if nick]
|
||||
for nick in nicks:
|
||||
_, _, nick, repl = nick.value
|
||||
if nick.startswith(self.lhs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue