mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Remove CModule::m_bGlobal
This one is partly due to cppcheck, too, because it warned that one of CModule's constructors didn't initialize m_bGlobal. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1765 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -105,7 +105,6 @@ const CString& CTimer::GetDescription() const { return m_sDescription; }
|
||||
|
||||
CModule::CModule(ModHandle pDLL, CUser* pUser, const CString& sModName, const CString& sDataDir) {
|
||||
m_bFake = false;
|
||||
m_bGlobal = false;
|
||||
m_pDLL = pDLL;
|
||||
m_pManager = &(CZNC::Get().GetManager());;
|
||||
m_pUser = pUser;
|
||||
@@ -699,7 +698,6 @@ bool CModules::LoadModule(const CString& sModule, const CString& sArgs, CUser* p
|
||||
}
|
||||
|
||||
pModule->SetDescription(sDesc);
|
||||
pModule->SetGlobal(bIsGlobal);
|
||||
pModule->SetArgs(sArgs);
|
||||
push_back(pModule);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user