Changed vChans to a reference in OnNick and OnQuit (oops)

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@165 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-23 08:10:34 +00:00
parent c88b835837
commit 9b3ac7cb94
5 changed files with 18 additions and 15 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, const vector<CChan*> vChans) {
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, const vector<CChan*> vChans) {
virtual void OnNick(const CNick& OldNick, const string& sNewNick, const vector<CChan*>& vChans) {
PutModule("* " + OldNick.GetNick() + " is now known as " + sNewNick);
}