diff options
Diffstat (limited to 'src/core/commands.c')
-rw-r--r-- | src/core/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/commands.c b/src/core/commands.c index 361a0ecb..8c446ba8 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -950,10 +950,10 @@ static int eval_recursion_depth=0; static void cmd_eval(const char *data, SERVER_REC *server, void *item) { g_return_if_fail(data != NULL); - if (eval_recursion_depth > 100) + if (eval_recursion_depth > 100) cmd_return_error(CMDERR_EVAL_MAX_RECURSE); - + eval_recursion_depth++; eval_special_string(data, "", server, item); eval_recursion_depth--; |