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:
darthgandalf
2010-12-30 11:28:41 +00:00
parent 644632f915
commit a0c0b73590
9 changed files with 17 additions and 15 deletions
+2 -2
View File
@@ -192,9 +192,9 @@ public:
Channel.GetName(), Channel.GetName());
}
virtual void OnPart(const CNick& Nick, CChan& Channel) {
virtual void OnPart(const CNick& Nick, CChan& Channel, const CString& sMessage) {
Process(Nick, "* " + Nick.GetNick() + " (" + Nick.GetIdent() + "@" + Nick.GetHost() + ") parts " +
Channel.GetName(), Channel.GetName());
Channel.GetName() + "(" + sMessage + ")", Channel.GetName());
}
virtual void OnNick(const CNick& OldNick, const CString& sNewNick, const vector<CChan*>& vChans) {