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, 3 insertions, 1 deletions
diff --git a/src/modules.c b/src/modules.c
index 19d1a0a84..70e87317b 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -586,7 +586,9 @@ int loadModule(Module * m, User * u)
if (func) {
version = (int (*)())ano_modsym(m->handle,"getAnopeBuildVersion");
if(version && version() >= VERSION_BUILD ) {
- alog("Module %s compiled against anope revision %d, this is %d",m->name,version(),VERSION_BUILD);
+ if(debug) {
+ alog("Module %s compiled against anope revision %d, this is %d",m->name,version(),VERSION_BUILD);
+ }
} else {
ano_modclose(m->handle);
ano_modclearerr();