mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Fixed the sending of timeout text. Resolves #962.
This commit is contained in:
parent
937bd01fb8
commit
1a42ca8006
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ def _portal_maintenance():
|
|||
reason = "Idle timeout exceeded, disconnecting."
|
||||
for session in [sess for sess in PORTAL_SESSIONS.values()
|
||||
if (now - sess.cmd_last) > _IDLE_TIMEOUT]:
|
||||
session.data_out(text=reason)
|
||||
session.data_out(text=[[reason], {}])
|
||||
PORTAL_SESSIONS.disconnect(session)
|
||||
|
||||
if _IDLE_TIMEOUT > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue