Fix the OnKick() module call

This call works exactly as it did before (well, it no longer creates a
temporary CNick instance), but it's documentation now also describes its current
behavior.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1737 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-02-06 14:54:06 +00:00
parent 5202e315ee
commit fd9ed4aff1
2 changed files with 4 additions and 4 deletions

View File

@@ -507,7 +507,7 @@ void CIRCSock::ReadLine(const CString& sData) {
if (pChan) {
pChan->RemNick(sKickedNick);
MODULECALL(OnKick(Nick.GetNickMask(), sKickedNick, *pChan, sMsg), m_pUser, NULL, );
MODULECALL(OnKick(Nick, sKickedNick, *pChan, sMsg), m_pUser, NULL, );
}
if (GetNick().Equals(sKickedNick) && pChan) {