mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Fixed a lingering reference to portalsessionhandler.sessions.
This commit is contained in:
parent
2130522559
commit
5d3df584bf
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ def _portal_maintenance():
|
|||
now = time.time()
|
||||
|
||||
reason = "Idle timeout exceeded, disconnecting."
|
||||
for session in [sess for sess in PORTAL_SESSIONS.sessions.values()
|
||||
for session in [sess for sess in PORTAL_SESSIONS.values()
|
||||
if (now - sess.cmd_last) > _IDLE_TIMEOUT]:
|
||||
session.data_out(reason)
|
||||
PORTAL_SESSIONS.disconnect(session)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue