mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Add new parameter to OnPart module hook: part message.
Sorry for API change :) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2215 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual void OnPart(const CNick& Nick, CChan& Channel) {
|
||||
virtual void OnPart(const CNick& Nick, CChan& Channel, const CString& sMessage) {
|
||||
if (Nick.GetNick() == m_pUser->GetIRCNick().GetNick()) {
|
||||
Channel.SetInConfig(false);
|
||||
CZNC::Get().WriteConfig();
|
||||
|
||||
Reference in New Issue
Block a user