Throw exception on version mismatch

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@190 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-26 07:15:12 +00:00
parent 2e685b6f19
commit 05ba8c3e54
+2 -1
View File
@@ -539,7 +539,8 @@ bool CModules::LoadModule(const string& sModule, const string& sArgs, CUser* pUs
if (CModule::GetVersion() != Version()) {
dlclose(p);
sRetMsg = "Version mismatch in module [" + sModule + "] - You need to recompile your modules using this version of znc.";
sRetMsg = "Version mismatch, recompile this module.";
throw CException(CException::EX_BadModVersion);
return false;
}