summary refs log tree commit diff stats
path: root/plugins/python
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2018-12-05 19:45:30 -0500
committerPatrick Griffis <tingping@tingping.se>2018-12-05 19:45:30 -0500
commited55330153e7d85e753d1321c4e46e9bb6833735 (patch)
tree2d1042a01431484d13ad39d743ba8507478375c8 /plugins/python
parenta2ff661d40bcd49a0be973b7b60583fde64e09c2 (diff)
python: Fix console not eating commands
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/python.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/python/python.py b/plugins/python/python.py
index e6a61b5e..1eeb10b4 100644
--- a/plugins/python/python.py
+++ b/plugins/python/python.py
@@ -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