From 1a42ca800615cfd1d4ecb8706115269c04b0f982 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 18 Apr 2016 21:23:54 +0200 Subject: [PATCH] Fixed the sending of timeout text. Resolves #962. --- evennia/server/portal/portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/server/portal/portal.py b/evennia/server/portal/portal.py index 02d501028b..97962f686c 100644 --- a/evennia/server/portal/portal.py +++ b/evennia/server/portal/portal.py @@ -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: