mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Fixed bug in delcom.
This commit is contained in:
parent
06a0bea8d6
commit
3430aa9eae
4 changed files with 20 additions and 18 deletions
|
|
@ -149,7 +149,7 @@ class CmdDelCom(MuxPlayerCommand):
|
|||
chkey = channel.key.lower()
|
||||
# find all nicks linked to this channel and delete them
|
||||
for nick in [nick for nick in caller.nicks.get(category="channel")
|
||||
if nick.db_data.lower() == chkey]:
|
||||
if nick.strvalue.lower() == chkey]:
|
||||
nick.delete()
|
||||
disconnect = channel.disconnect_from(player)
|
||||
if disconnect:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue