mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 17:23:15 +02:00
Increase number of authorized calls to same command (recursive calls), from 1 to 5 (more than 5 is considered as looping)
This commit is contained in:
@@ -114,7 +114,8 @@ input_exec_command (struct t_gui_buffer *buffer,
|
||||
break;
|
||||
case -3: /* command is running */
|
||||
gui_chat_printf (NULL,
|
||||
_("%sError: command \"%s\" is running"),
|
||||
_("%sError: too much calls to command \"%s\" "
|
||||
"(looping)"),
|
||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
|
||||
command + 1);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user