summaryrefslogtreecommitdiff
path: root/src/core/commands.h
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-07-17 16:43:18 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-07-17 16:43:18 +0000
commit547065cb42de5122baabaee9bd7fef1cf30382eb (patch)
tree0520d222b9baca336a7f2f9cf7c416d2d9f478a9 /src/core/commands.h
parent181f00c15e261f2dd2608891280f54854ec2da38 (diff)
downloadirssi-547065cb42de5122baabaee9bd7fef1cf30382eb.zip
Fix /eval recursion crashing (debian/patches/04eval_recurse.dpatch by David Pashley)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3865 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.h')
-rw-r--r--src/core/commands.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/commands.h b/src/core/commands.h
index b4f4ea0e..0dda9f61 100644
--- a/src/core/commands.h
+++ b/src/core/commands.h
@@ -39,7 +39,8 @@ enum {
CMDERR_ILLEGAL_PROTO, /* requires different chat protocol than the active server */
CMDERR_NOT_GOOD_IDEA, /* not good idea to do, -yes overrides this */
CMDERR_INVALID_TIME, /* invalid time specification */
- CMDERR_INVALID_CHARSET /* invalid charset specification */
+ CMDERR_INVALID_CHARSET, /* invalid charset specification */
+ CMDERR_EVAL_MAX_RECURSE /* eval hit recursion limit */
};
/* Return the full command for `alias' */