summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c
index 05f077331..18bfacc57 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -622,9 +622,9 @@ int loadModule(Module * m, User * u)
return MOD_ERR_NOLOAD;
}
ano_modclearerr();
- func = (int (*)(int, char **))ano_modsym(m->handle, "AnopeInit");
+ func = (int (*)(int, char **))ano_modsym(m->handle, "anope_modinit");
if ( func == NULL && (err = ano_moderr()) != NULL) {
- alog("No AnopeInit found, not an Anope module.");
+ alog("No magical anope_modinit() found, not an Anope module, or a very old module(?)");
ano_modclose(m->handle); /* If no AnopeInit - it isnt an Anope Module, close it */
return MOD_ERR_NOLOAD;
}