diff --git a/Changes b/Changes index 5c474e477..99ab795ed 100644 --- a/Changes +++ b/Changes @@ -1714,3 +1714,4 @@ seen. gmtime warning still there - Documentation updates - Added back the commands check that didn't get added in conf3 (lamers beware) +- Fixed a typo in the module system diff --git a/src/modules.c b/src/modules.c index 0b9d99f1c..0857b278c 100644 --- a/src/modules.c +++ b/src/modules.c @@ -200,7 +200,7 @@ char *Module_Create(char *path_) modinfo.module_load = 0; modinfo.handle = mod; if ((ret = (*Mod_Test)(&modinfo)) < MOD_SUCCESS) { - ircsprintf(errorbuf, "Mod_Init returned %i", + ircsprintf(errorbuf, "Mod_Test returned %i", ret); /* We EXPECT the module to have cleaned up it's mess */ Module_free(mod); @@ -210,7 +210,7 @@ char *Module_Create(char *path_) else { if ((ret = (*Mod_Test)(0)) < MOD_SUCCESS) { - ircsprintf(errorbuf, "Mod_Init returned %i", + ircsprintf(errorbuf, "Mod_Test returned %i", ret); /* We EXPECT the module to have cleaned up it's mess */ Module_free(mod);