Upgrading to CZNC::Get()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@508 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-19 04:09:37 +00:00
parent ba951747f9
commit 89e5079ce9
13 changed files with 100 additions and 139 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ void CUserSock::ReadLine(const CString& sData) {
CString sModule = sTarget;
sModule.LeftChomp(m_pUser->GetStatusPrefix().length());
CModule* pModule = m_pUser->GetZNC()->GetModules().FindModule(sModule);
CModule* pModule = CZNC::Get().GetModules().FindModule(sModule);
if (pModule) {
pModule->OnModNotice(sMsg);