python: Fix console not eating commands

This commit is contained in:
Patrick Griffis 2018-12-05 19:45:30 -05:00
parent a2ff661d40
commit ed55330153

View File

@ -281,6 +281,7 @@ def _on_say_command(word, word_eol, userdata):
python = ffi.string(word_eol[1])
lib.hexchat_print(lib.ph, b'>>> ' + python)
exec_in_interp(__decode(python))
return 1
return 0