Fixed errors when disconnecting from channels. Resolves #560.
This commit is contained in:
parent
58502b42df
commit
6304e7a068
2 changed files with 3 additions and 3 deletions
|
|
@ -411,7 +411,7 @@ class ChannelDB(TypedObject):
|
|||
if not disconnect:
|
||||
return False
|
||||
# disconnect
|
||||
self.db_subscriptions.remove(player)
|
||||
self.db_subscriptions.remove(player.dbobj)
|
||||
# post-disconnect hook
|
||||
self.typeclass.post_leave_channel(player.dbobj)
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue