Started to go through the unittest errors, fixing player creation.
This commit is contained in:
parent
0b01df1fcc
commit
1130dc5757
11 changed files with 58 additions and 60 deletions
|
|
@ -386,7 +386,7 @@ class CmdCBoot(MuxPlayerCommand):
|
|||
string = "You don't control this channel."
|
||||
self.msg(string)
|
||||
return
|
||||
if not player.dbobj in channel.db_subscriptions.all():
|
||||
if not player in channel.db_subscriptions.all():
|
||||
string = "Player %s is not connected to channel %s." % (player.key, channel.key)
|
||||
self.msg(string)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue