Call user cleanup function when client is disconnected

master
Sven Slootweg 13 years ago
parent b67787af48
commit 75c4f573e1

@ -121,7 +121,8 @@ class client:
self.user.process_data(data)
def end(self):
pass
if self.user is not None:
self.user.end()
class channel:
presences = {}

Loading…
Cancel
Save