1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 18:13:13 +02:00

BUILD : 1.7.19 (1321) BUGS : 810 NOTES : Fixed outdated module error strings in ModuleGetErrStr

git-svn-id: svn://svn.anope.org/anope/trunk@1321 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1039 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-12-27 19:10:36 +00:00
parent 6f15f42a02
commit f8f64944c2
3 changed files with 20 additions and 13 deletions
+1
View File
@@ -55,6 +55,7 @@ Anope Version S V N
12/03 F Malformed command for InspIRCd 1.1. [#797]
12/03 F Updates to various documentation. [ #00]
12/15 F Inconsistent use of ACESS events. [#791]
12/27 F Module error strings were outdated. [#810]
Provided by Trystan <trystan@nomadirc.net> - 2007
08/29 F Module runtime directory not always properly cleaned up. [#768]
+14 -12
View File
@@ -66,18 +66,20 @@ char *ModuleGetErrStr(int status);
char *ModuleGetErrStr(int status)
{
const char *module_err_str[] = {
"Module, Okay - No Error",
"Module Error, allocating memory",
"Module Error, not enough parameters",
"Module Error, already loaded",
"Module Error, file does not exist",
"Module Error, No User",
"Module Error, Error during load time or module returned MOD_STOP",
"Module Error, Unable to unload"
"Module Error, Unknown Error occuried",
"Module Error, File I/O Error",
"Module Error, No Service found for request",
"Module Error, No module name for request",
"Module, Okay - No Error", /* MOD_ERR_OK */
"Module Error, Allocating memory", /* MOD_ERR_MEMORY */
"Module Error, Not enough parameters", /* MOD_ERR_PARAMS */
"Module Error, Already loaded", /* MOD_ERR_EXISTS */
"Module Error, File does not exist", /* MOD_ERR_NOEXIST */
"Module Error, No User", /* MOD_ERR_NOUSER */
"Module Error, Error during load time or module returned MOD_STOP", /* MOD_ERR_NOLOAD */
"Module Error, Unable to unload", /* MOD_ERR_NOUNLOAD */
"Module Error, Incorrect syntax", /* MOD_ERR_SYNTAX */
"Module Error, Unable to delete", /* MOD_ERR_NODELETE */
"Module Error, Unknown Error occuried", /* MOD_ERR_UNKOWN */
"Module Error, File I/O Error", /* MOD_ERR_FILE_IO */
"Module Error, No Service found for request", /* MOD_ERR_NOSERVICE */
"Module Error, No module name for request" /* MOD_ERR_NO_MOD_NAME */
};
return (char *) module_err_str[status];
}
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
VERSION_BUILD="1320"
VERSION_BUILD="1321"
# $Log$
#
# BUILD : 1.7.19 (1321)
# BUGS : 810
# NOTES : Fixed outdated module error strings in ModuleGetErrStr
#
# BUILD : 1.7.19 (1320)
# BUGS :
# NOTES :