diff options
Diffstat (limited to 'src/plugins/guile/weechat-guile-api.c')
-rw-r--r-- | src/plugins/guile/weechat-guile-api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/guile/weechat-guile-api.c b/src/plugins/guile/weechat-guile-api.c index c90f6377f..d5678e41e 100644 --- a/src/plugins/guile/weechat-guile-api.c +++ b/src/plugins/guile/weechat-guile-api.c @@ -176,8 +176,7 @@ weechat_guile_api_register (SCM name, SCM author, SCM version, SCM license, || !scm_is_string (charset)) API_WRONG_ARGS(API_RETURN_ERROR); - if (plugin_script_search (weechat_guile_plugin, guile_scripts, - API_SCM_TO_STRING(name))) + if (plugin_script_search (guile_scripts, API_SCM_TO_STRING(name))) { /* another script already exists with same name */ weechat_printf (NULL, |