mirror of
https://github.com/znc/znc.git
synced 2026-05-04 12:32:33 +02:00
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:
@@ -149,8 +149,8 @@ void CModule::OnModCommand(const string& sCommand) {}
|
||||
void CModule::OnModNotice(const string& sMessage) {}
|
||||
void CModule::OnModCTCP(const string& sMessage) {}
|
||||
|
||||
void CModule::OnQuit(const CNick& Nick, const string& sMessage, const vector<CChan*> vChans) {}
|
||||
void CModule::OnNick(const CNick& Nick, const string& sNewNick, const vector<CChan*> vChans) {}
|
||||
void CModule::OnQuit(const CNick& Nick, const string& sMessage, const vector<CChan*>& vChans) {}
|
||||
void CModule::OnNick(const CNick& Nick, const string& sNewNick, const vector<CChan*>& vChans) {}
|
||||
void CModule::OnKick(const CNick& Nick, const string& sKickedNick, const CChan& Channel, const string& sMessage) {}
|
||||
void CModule::OnJoin(const CNick& Nick, const CChan& Channel) {}
|
||||
void CModule::OnPart(const CNick& Nick, const CChan& Channel) {}
|
||||
@@ -299,13 +299,13 @@ bool CModules::OnUserRaw(string& sLine) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void CModules::OnQuit(const CNick& Nick, const string& sMessage, const vector<CChan*> vChans) {
|
||||
void CModules::OnQuit(const CNick& Nick, const string& sMessage, const vector<CChan*>& vChans) {
|
||||
for (unsigned int a = 0; a < size(); a++) {
|
||||
(*this)[a]->OnQuit(Nick, sMessage, vChans);
|
||||
}
|
||||
}
|
||||
|
||||
void CModules::OnNick(const CNick& Nick, const string& sNewNick, const vector<CChan*> vChans) {
|
||||
void CModules::OnNick(const CNick& Nick, const string& sNewNick, const vector<CChan*>& vChans) {
|
||||
for (unsigned int a = 0; a < size(); a++) {
|
||||
(*this)[a]->OnNick(Nick, sNewNick, vChans);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user