Add OnUnknownUserRaw() global module call.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1314 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2008-12-31 12:22:38 +00:00
parent d6525a8efe
commit d84b9c6e9e
3 changed files with 10 additions and 0 deletions

View File

@@ -72,6 +72,9 @@ void CClient::ReadLine(const CString& sData) {
#ifdef _MODULES
if (IsAttached()) {
MODULECALL(OnUserRaw(sLine), m_pUser, this, return);
} else {
if (CZNC::Get().GetModules().OnUnknownUserRaw(this, sLine))
return;
}
#endif