Added a missing execute_cmd on the Session. It got lost after the inputfunc changes.

This commit is contained in:
Griatch 2016-04-24 15:23:55 +02:00
parent 8bf63885e2
commit 68e5c4d283
3 changed files with 26 additions and 6 deletions

View file

@ -68,7 +68,8 @@ def text(session, *args, **kwargs):
else:
text = session.player.nicks.nickreplace(text,
categories=("inputline", "channels"), include_player=False)
cmdhandler(session, text, callertype="session", session=session)
kwargs.pop("options", None)
cmdhandler(session, text, callertype="session", session=session, **kwargs)
session.update_session_counters()