From f059dbc236f04a0af01e5dda85485eb3020946c3 Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 20 Jun 2006 22:15:27 +0000 Subject: Added version of module on error git-svn-id: svn://svn.anope.org/anope/trunk@1066 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@790 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.c') diff --git a/src/modules.c b/src/modules.c index 8e8882afa..74af24bb9 100644 --- a/src/modules.c +++ b/src/modules.c @@ -582,7 +582,7 @@ int loadModule(Module * m, User * u) } else { ano_modclose(m->handle); ano_modclearerr(); - alog("Module %s is compiled against an old version of anope!",m->name); + alog("Module %s is compiled against an old version of anope (%d)",m->name,version()); return MOD_ERR_NOLOAD; } /* TODO */ -- cgit