mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
make sure to get an iterable
This commit is contained in:
parent
1f4cd76e5f
commit
764eb97cc6
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue