Remove some unneedef #ifdef's

MODULECALL doesn't need to be wrapped in #ifdef _MODULES, since main.h
already does this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1049 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-05-10 15:09:46 +00:00
parent 7e34dd3bfa
commit ff7a6c231a
3 changed files with 0 additions and 20 deletions
-2
View File
@@ -1575,9 +1575,7 @@ void CZNC::Broadcast(const CString& sMessage, CUser* pUser) {
for (map<CString,CUser*>::iterator a = m_msUsers.begin(); a != m_msUsers.end(); a++) {
if (a->second != pUser) {
CString sMsg = sMessage;
#ifdef _MODULES
MODULECALL(OnBroadcast(sMsg), a->second, NULL, continue);
#endif
a->second->PutStatusNotice("*** " + sMsg);
}
}