1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

core: add script name in output of /debug hooks <plugin>

This commit is contained in:
Sébastien Helleu
2025-06-08 16:36:46 +02:00
parent a6e859b7ff
commit 34f2e6cdd0
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -611,6 +611,12 @@ debug_hooks_plugin_types (const char *plugin_mask, const char **hook_types)
(ptr_hook->plugin) ?
ptr_hook->plugin->name : PLUGIN_CORE,
-1);
if (ptr_hook->subplugin)
{
string_dyn_concat (result_type, "(", -1);
string_dyn_concat (result_type, ptr_hook->subplugin, -1);
string_dyn_concat (result_type, ")", -1);
}
string_dyn_concat (result_type, ": ", -1);
string_dyn_concat (result_type, desc, -1);
string_dyn_concat (result_type, "\n", -1);