1
0
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:
Sebastien Helleu
2008-05-22 12:55:37 +02:00
parent ec6f2c2e17
commit a4a4e5126c
10 changed files with 54 additions and 50 deletions
+2 -1
View File
@@ -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;