summaryrefslogtreecommitdiff
path: root/src/plugins/python/weechat-python.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/weechat-python.c')
-rw-r--r--src/plugins/python/weechat-python.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c
index b40f5d323..e0b556cad 100644
--- a/src/plugins/python/weechat-python.c
+++ b/src/plugins/python/weechat-python.c
@@ -766,8 +766,9 @@ weechat_python_load (const char *filename)
&weechat_python_api_buffer_input_data_cb,
&weechat_python_api_buffer_close_cb);
- weechat_hook_signal_send ("python_script_loaded", WEECHAT_HOOK_SIGNAL_STRING,
- python_current_script->filename);
+ (void) weechat_hook_signal_send ("python_script_loaded",
+ WEECHAT_HOOK_SIGNAL_STRING,
+ python_current_script->filename);
return 1;
}
@@ -832,8 +833,8 @@ weechat_python_unload (struct t_plugin_script *script)
if (old_interpreter)
PyThreadState_Swap (old_interpreter);
- weechat_hook_signal_send ("python_script_unloaded",
- WEECHAT_HOOK_SIGNAL_STRING, filename);
+ (void) weechat_hook_signal_send ("python_script_unloaded",
+ WEECHAT_HOOK_SIGNAL_STRING, filename);
if (filename)
free (filename);
}