mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
(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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user