diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-12-27 19:10:36 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-12-27 19:10:36 +0000 |
commit | f8f64944c27f09a728f2c75d3b66ca7ce1e700ae (patch) | |
tree | 0d952b975990b68e4106f3f6aa2a3b2817a915a7 | |
parent | 6f15f42a02bd72bba49c3316e886877cebdf8c76 (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/modules.c | 26 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 20 insertions, 13 deletions
@@ -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] diff --git a/src/modules.c b/src/modules.c index b54d1fa58..8cb1c6178 100644 --- a/src/modules.c +++ b/src/modules.c @@ -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]; } diff --git a/version.log b/version.log index 3e89330da..935a00819 100644 --- a/version.log +++ b/version.log @@ -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 : |