diff options
Diffstat (limited to 'src/plugins/php/weechat-php.c')
-rw-r--r-- | src/plugins/php/weechat-php.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index ac2cbc508..3f85b06fd 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -1113,7 +1113,7 @@ weechat_php_infolist_cb (const void *pointer, void *data, if (!infolist_name || !infolist_name[0]) return NULL; - if (weechat_strcmp (infolist_name, "php_script") == 0) + if (strcmp (infolist_name, "php_script") == 0) { return plugin_script_infolist_list_scripts (weechat_php_plugin, php_scripts, obj_pointer, @@ -1138,8 +1138,7 @@ weechat_php_signal_debug_dump_cb (const void *pointer, void *data, (void) signal; (void) type_data; - if (!signal_data - || (weechat_strcmp ((char *)signal_data, PHP_PLUGIN_NAME) == 0)) + if (!signal_data || (strcmp ((char *)signal_data, PHP_PLUGIN_NAME) == 0)) { plugin_script_print_log (weechat_php_plugin, php_scripts); } |