summaryrefslogtreecommitdiff
path: root/src/plugins/tcl/weechat-tcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tcl/weechat-tcl.c')
-rw-r--r--src/plugins/tcl/weechat-tcl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/tcl/weechat-tcl.c b/src/plugins/tcl/weechat-tcl.c
index 57d95539e..79d0a5243 100644
--- a/src/plugins/tcl/weechat-tcl.c
+++ b/src/plugins/tcl/weechat-tcl.c
@@ -487,7 +487,7 @@ weechat_tcl_unload_name (const char *name)
{
struct t_plugin_script *ptr_script;
- ptr_script = plugin_script_search (weechat_tcl_plugin, tcl_scripts, name);
+ ptr_script = plugin_script_search (tcl_scripts, name);
if (ptr_script)
{
weechat_tcl_unload (ptr_script);
@@ -529,7 +529,7 @@ weechat_tcl_reload_name (const char *name)
struct t_plugin_script *ptr_script;
char *filename;
- ptr_script = plugin_script_search (weechat_tcl_plugin, tcl_scripts, name);
+ ptr_script = plugin_script_search (tcl_scripts, name);
if (ptr_script)
{
filename = strdup (ptr_script->filename);