diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-05-22 12:55:37 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-05-22 12:55:37 +0200 |
commit | a4a4e5126cfc7c5bee39c08403ea3a9b6d3f33dc (patch) | |
tree | 7e17e27913af7ff902e32f8aae56d132c5920fbd /src/core/wee-input.c | |
parent | ec6f2c2e177eb99370a5dc58ce932aeff57f0648 (diff) | |
download | weechat-a4a4e5126cfc7c5bee39c08403ea3a9b6d3f33dc.zip |
Increase number of authorized calls to same command (recursive calls), from 1 to 5 (more than 5 is considered as looping)
Diffstat (limited to 'src/core/wee-input.c')
-rw-r--r-- | src/core/wee-input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/wee-input.c b/src/core/wee-input.c index c0e938bc3..f2f3adc59 100644 --- a/src/core/wee-input.c +++ b/src/core/wee-input.c @@ -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; |