Some fixes in comm channels related to nicks.
This commit is contained in:
parent
0bc13df712
commit
a8417fd42c
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ class CmdCBoot(COMMAND_DEFAULT_CLASS):
|
||||||
# find all player's nicks linked to this channel and delete them
|
# find all player's nicks linked to this channel and delete them
|
||||||
for nick in [nick for nick in
|
for nick in [nick for nick in
|
||||||
player.character.nicks.get(category="channel") or []
|
player.character.nicks.get(category="channel") or []
|
||||||
if nick.db_real.lower() == channel.key]:
|
if nick.value[3].lower() == channel.key]:
|
||||||
nick.delete()
|
nick.delete()
|
||||||
# disconnect player
|
# disconnect player
|
||||||
channel.disconnect(player)
|
channel.disconnect(player)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue