mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user