(Hopefully) fix all remaining module calls

This should turn all network module calls which could use NULL for the network
into user module calls. I'm not sure if this is the right thing to do, but for
now this might be the easiest fix.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-09-12 19:54:22 +02:00
parent fa7ec788dd
commit bdf0d19ce8
2 changed files with 12 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ void CClient::UserCommand(CString& sLine) {
return;
}
NETWORKMODULECALL(OnStatusCommand(sLine), m_pUser, m_pNetwork, this, return);
USERMODULECALL(OnStatusCommand(sLine), m_pUser, this, return);
const CString sCommand = sLine.Token(0);