mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API
This commit is contained in:
@@ -286,7 +286,7 @@ plugin_script_str2ptr (struct t_weechat_plugin *weechat_plugin,
|
||||
return (void *)value;
|
||||
|
||||
invalid:
|
||||
if (weechat_plugin->debug >= 1)
|
||||
if ((weechat_plugin->debug >= 1) && script_name && function_name)
|
||||
{
|
||||
ptr_buffer = weechat_buffer_search_main ();
|
||||
if (ptr_buffer)
|
||||
|
||||
Reference in New Issue
Block a user