From 2783e635b6ef23b7c31ff893dadcea29ea8be85c Mon Sep 17 00:00:00 2001 From: codemastr Date: Sun, 8 Dec 2002 18:44:30 +0000 Subject: [PATCH] Fixed a typo --- Changes | 1 + src/modules.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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);