summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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