mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Fixed bug in delcom.
This commit is contained in:
parent
06a0bea8d6
commit
3430aa9eae
4 changed files with 20 additions and 18 deletions
|
|
@ -393,11 +393,11 @@ class ChannelDB(TypedObject):
|
|||
|
||||
def disconnect_from(self, player):
|
||||
"Disconnect user from this channel."
|
||||
disconnect = self.typeclass.pre_leave_channel(self, player)
|
||||
disconnect = self.typeclass.pre_leave_channel(player)
|
||||
if not disconnect:
|
||||
return False
|
||||
PlayerChannelConnection.objects.break_connection(player, self)
|
||||
self.typeclass.post_leave_channel(self, player)
|
||||
self.typeclass.post_leave_channel(player)
|
||||
return True
|
||||
|
||||
def delete(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue