Fixed a regression concerning the idle command.

This commit is contained in:
Griatch 2016-06-26 23:46:05 +02:00
parent 0ad84346d1
commit 4c3926cdf1

View file

@ -63,7 +63,7 @@ def text(session, *args, **kwargs):
return
# this is treated as a command input
# handle the 'idle' command
if text.strip() == _IDLE_COMMAND:
if text.strip() in _IDLE_COMMAND:
session.update_session_counters(idle=True)
return
if session.player: