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

Remove time in weechat.log file when dumping data (crash or user is asking dump)

This commit is contained in:
Sebastien Helleu
2009-04-26 09:43:06 +02:00
parent c3321b1406
commit 0a8077f0d6
4 changed files with 24 additions and 11 deletions
+3
View File
@@ -831,7 +831,10 @@ command_debug (void *data, struct t_gui_buffer *buffer,
if (string_strcasecmp (argv[1], "dump") == 0)
{
log_printf ("Dump request for WeeChat core and plugins");
weechat_log_use_time = 0;
hook_signal_send ("debug_dump", WEECHAT_HOOK_SIGNAL_STRING, NULL);
weechat_log_use_time = 1;
}
else if (string_strcasecmp (argv[1], "buffer") == 0)
{