diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-16 02:38:46 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-16 02:38:46 +0000 |
commit | d82771900e43c4df56ebacd00f69250324016afa (patch) | |
tree | 15ca9f193d58da9d638f8bd64ad73121645f6481 /src | |
parent | 7eadde991142f993923e425e5a8bebfe1b7b3cee (diff) |
Made the 'Module compiled against current version of Anope' message debug only
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2652 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/modulemanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index c474abaec..e3a93b680 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -232,7 +232,8 @@ int ModuleManager::LoadModule(const std::string &modname, User * u) } else if (v.GetBuild() == VERSION_BUILD) { - alog("Module %s compiled against current version of Anope %d", modname.c_str(), v.GetBuild()); + if (debug) + alog("Module %s compiled against current version of Anope %d", modname.c_str(), v.GetBuild()); } |