diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/python/python.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c index f3df501a..0fed65ca 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -2162,6 +2162,7 @@ IInterp_Exec(char *command) memcpy(buffer, command, len); buffer[len] = '\n'; buffer[len+1] = 0; + PyRun_SimpleString("import hexchat"); o = PyRun_StringFlags(buffer, Py_single_input, d, d, NULL); g_free(buffer); if (o == NULL) { |