From 8683e1c80d9d37ee7ffae54c0d888195a5e8d1a7 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Aug 2007 11:29:15 +0000 Subject: Provide error output on failure to load a core command; to console on startup, and to user on /reload git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7708 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/exitcodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/exitcodes.h') diff --git a/include/exitcodes.h b/include/exitcodes.h index d68301984..e0babb92b 100644 --- a/include/exitcodes.h +++ b/include/exitcodes.h @@ -33,7 +33,8 @@ enum ExitStatus EXIT_STATUS_DIETAG = 12, /* Found a die tag in the config file */ EXIT_STATUS_MODULE = 13, /* Couldn't load a required module */ EXIT_STATUS_CREATEPROCESS = 14, /* CreateProcess failed (windows) */ - EXIT_STATUS_SIGTERM = 15 /* Note: dont move this value. It corresponds with the value of #define SIGTERM. */ + EXIT_STATUS_SIGTERM = 15, /* Note: dont move this value. It corresponds with the value of #define SIGTERM. */ + EXIT_STATUS_BADHANDLER = 16 /* Bad command handler loaded */ }; /** Array that maps exit codes (ExitStatus types) to -- cgit v1.2.3