Added try/catch for LoadModule

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@484 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-12 03:45:57 +00:00
parent e94dbf13f6
commit da683da5b0
3 changed files with 16 additions and 3 deletions

View File

@@ -121,7 +121,9 @@ bool CUser::Clone(const CUser& User, CString& sErrorRet) {
if (!pCurMod) {
CString sModRet;
vCurMods.LoadModule(pNewMod->GetModName(), "", this, sModRet);
try {
vCurMods.LoadModule(pNewMod->GetModName(), "", this, sModRet);
} catch (...) {}
}
}