Add OnJoining module hook.

This patch adds an OnJoining module hook that allows a module to allow
or disallow joining any given channel.
This commit is contained in:
Alexander Færøy committed 2014-05-29 23:10:30 +02:00
1 parent 5d001cd0e0
commit db0e0995e2
9 files changed
+22

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ void OnModCTCP(const CString& sMessage)
void OnQuit(const CNick& Nick, const CString& sMessage, const vector<CChan*>& vChans)
void OnNick(const CNick& Nick, const CString& sNewNick, const vector<CChan*>& vChans)
void OnKick(const CNick& OpNick, const CString& sKickedNick, CChan& Channel, const CString& sMessage)
EModRet OnJoining(CChan& Channel)
void OnJoin(const CNick& Nick, CChan& Channel)
void OnPart(const CNick& Nick, CChan& Channel, const CString& sMessage)
EModRet OnChanBufferStarting(CChan& Chan, CClient& Client)