mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +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:
@@ -75,9 +75,7 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
|
||||
DEBUG_ONLY(cout << "(" << m_pUser->GetUserName() << ") IRC -> ZNC [" << sLine << "]" << endl);
|
||||
|
||||
#ifdef _MODULES
|
||||
MODULECALL(OnRaw(sLine), m_pUser, NULL, return);
|
||||
#endif
|
||||
|
||||
if (strncasecmp(sLine.c_str(), "PING ", 5) == 0) {
|
||||
PutIRC("PONG " + sLine.substr(5));
|
||||
@@ -569,9 +567,7 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
// CString sArgs = sModes.Token(1, true); Usermode changes got no params
|
||||
bool bAdd = true;
|
||||
/* no module call defined (yet?)
|
||||
#ifdef _MODULES
|
||||
MODULECALL(OnRawUserMode(*pOpNick, *this, sModeArg, sArgs), m_pUser, NULL, );
|
||||
#endif
|
||||
*/
|
||||
for (unsigned int a = 0; a < sModeArg.size(); a++) {
|
||||
const unsigned char& uMode = sModeArg[a];
|
||||
|
||||
Reference in New Issue
Block a user