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

Make the logging a bit less annoyingly insane.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1581 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-11-08 00:37:16 +00:00
parent d18d3f094c
commit 11a99c885a
+2 -2
View File
@@ -217,7 +217,6 @@ void modules_core_init(int number, char **list)
m = findModule(list[idx]);
if (!m) {
status = loadModule(list[idx], NULL);
alog("debug: status: [%d][%s]", status, ModuleGetErrStr(status));
if (status != MOD_ERR_OK)
alog("ERROR: status: [%d][%s]", status, ModuleGetErrStr(status));
mod_current_module = NULL;
@@ -612,7 +611,8 @@ int loadModule(const std::string &modname, User * u)
if (findModule(modname.c_str()) != NULL)
return MOD_ERR_EXISTS;
alog("trying to load [%s]", modname.c_str());
if (debug)
alog("trying to load [%s]", modname.c_str());
/* Generate the filename for the temporary copy of the module */
strncpy(buf, MODULE_PATH, 4095); /* Get full path with module extension */