From 764eb97cc651c0d3d4ca419557a95391234bc078 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:16:10 -0700 Subject: [PATCH] make sure to get an iterable --- evennia/commands/default/comms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/default/comms.py b/evennia/commands/default/comms.py index c0b8e6681e..bf9a90b0e3 100644 --- a/evennia/commands/default/comms.py +++ b/evennia/commands/default/comms.py @@ -627,7 +627,7 @@ class CmdChannel(COMMAND_DEFAULT_CLASS): # find all of target's nicks linked to this channel and delete them for nick in [ nick - for nick in target.nicks.get(category="channel") or [] + for nick in target.nicks.get(category="channel", return_tuple=True) or [] if nick.value[3].lower() == channel.key ]: nick.delete()