diff options
Diffstat (limited to 'src/plugins/python/weechat-python.c')
-rw-r--r-- | src/plugins/python/weechat-python.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c index a60209227..94a7d9e95 100644 --- a/src/plugins/python/weechat-python.c +++ b/src/plugins/python/weechat-python.c @@ -993,7 +993,7 @@ weechat_python_unload_name (const char *name) { struct t_plugin_script *ptr_script; - ptr_script = plugin_script_search (weechat_python_plugin, python_scripts, name); + ptr_script = plugin_script_search (python_scripts, name); if (ptr_script) { weechat_python_unload (ptr_script); @@ -1035,7 +1035,7 @@ weechat_python_reload_name (const char *name) struct t_plugin_script *ptr_script; char *filename; - ptr_script = plugin_script_search (weechat_python_plugin, python_scripts, name); + ptr_script = plugin_script_search (python_scripts, name); if (ptr_script) { filename = strdup (ptr_script->filename); |