mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3664 from InspectorCaracal/patch-32
Remove last_login update on disconnect
This commit is contained in:
commit
fa48cb441a
1 changed files with 0 additions and 3 deletions
|
|
@ -161,9 +161,6 @@ class ServerSession(_BASE_SESSION_CLASS):
|
|||
account = self.account
|
||||
if self.puppet:
|
||||
account.unpuppet_object(self)
|
||||
uaccount = account
|
||||
uaccount.last_login = timezone.now()
|
||||
uaccount.save()
|
||||
# calling account hook
|
||||
account.at_disconnect(reason)
|
||||
self.logged_in = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue