mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix network module calls
These calls really should be network module calls, so this fixed NETWORKMODULECALL() to again silently do nothing if the network is NULL. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -25,7 +25,7 @@ void CClient::UserCommand(CString& sLine) {
|
||||
return;
|
||||
}
|
||||
|
||||
USERMODULECALL(OnStatusCommand(sLine), m_pUser, this, return);
|
||||
NETWORKMODULECALL(OnStatusCommand(sLine), m_pUser, m_pNetwork, this, return);
|
||||
|
||||
const CString sCommand = sLine.Token(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user