mirror of
https://github.com/znc/znc.git
synced 2026-06-25 04:22:08 +02:00
Add OnTopic() module call
Thanks to SilverLeo, again. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1011 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -655,6 +655,9 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
if (pChan) {
|
||||
CString sTopic = sLine.Token(3, true);
|
||||
sTopic.LeftChomp();
|
||||
|
||||
MODULECALL(OnTopic(Nick, *pChan, sTopic), m_pUser, NULL, return)
|
||||
|
||||
pChan->SetTopicOwner(Nick.GetNick());
|
||||
pChan->SetTopicDate((unsigned long) time(NULL));
|
||||
pChan->SetTopic(sTopic);
|
||||
|
||||
Reference in New Issue
Block a user