Changed OnNick() and OnQuit() to take a vector<CChan*> of common channels

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@164 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-23 07:24:58 +00:00
parent fccf44540a
commit c88b835837
6 changed files with 42 additions and 27 deletions

View File

@@ -84,7 +84,7 @@ public:
PutModule("[" + OpNick.GetNick() + "] kicked [" + sKickedNick + "] from [" + Channel.GetName() + "] with the msg [" + sMessage + "]");
}
virtual void OnQuit(const CNick& Nick, const string& sMessage) {
virtual void OnQuit(const CNick& Nick, const string& sMessage, const vector<CChan*> vChans) {
PutModule("* Quits: " + Nick.GetNick() + " (" + Nick.GetIdent() + "!" + Nick.GetHost() + ") (" + sMessage + ")");
}
@@ -96,7 +96,7 @@ public:
PutModule("* Parts: " + Nick.GetNick() + " (" + Nick.GetIdent() + "!" + Nick.GetHost() + ")");
}
virtual void OnNick(const CNick& OldNick, const string& sNewNick) {
virtual void OnNick(const CNick& OldNick, const string& sNewNick, const vector<CChan*> vChans) {
PutModule("* " + OldNick.GetNick() + " is now known as " + sNewNick);
}