Fix error in new idle timeout, causing it not to deactivate properly.
This commit is contained in:
parent
4505ace90d
commit
ceb66568b1
1 changed files with 7 additions and 6 deletions
|
|
@ -129,6 +129,7 @@ def _server_maintenance():
|
||||||
evennia.CHANNEL_HANDLER.update()
|
evennia.CHANNEL_HANDLER.update()
|
||||||
|
|
||||||
# handle idle timeouts
|
# handle idle timeouts
|
||||||
|
if _IDLE_TIMEOUT > 0:
|
||||||
reason = _("idle timeout exceeded")
|
reason = _("idle timeout exceeded")
|
||||||
for session in (sess for sess in SESSIONS.values()
|
for session in (sess for sess in SESSIONS.values()
|
||||||
if (now - sess.cmd_last) > _IDLE_TIMEOUT):
|
if (now - sess.cmd_last) > _IDLE_TIMEOUT):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue