1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

Add optional plugin name for command /debug dump and signal "debug_dump"

This commit is contained in:
Sebastien Helleu
2010-09-17 16:12:41 +02:00
parent efcc5010b6
commit 8b26f3c953
27 changed files with 132 additions and 94 deletions
+5 -2
View File
@@ -600,9 +600,12 @@ weechat_tcl_signal_debug_dump_cb (void *data, const char *signal,
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
script_print_log (weechat_tcl_plugin, tcl_scripts);
if (!signal_data
|| (weechat_strcasecmp ((char *)signal_data, TCL_PLUGIN_NAME) == 0))
{
script_print_log (weechat_tcl_plugin, tcl_scripts);
}
return WEECHAT_RC_OK;
}