Added notice to confirm that the session was added to the Do Not Track list.

This commit is contained in:
GRMrGecko 2012-02-22 18:24:10 -06:00
parent 8b8e4be17f
commit 5ac06c0927
2 changed files with 10 additions and 2 deletions

View File

@ -293,8 +293,12 @@ public:
break; break;
} }
} }
if (tracking) if (tracking) {
doNotTrackClient.push_back(m_pClient); doNotTrackClient.push_back(m_pClient);
PutUser(":*LogMySQL!LogMySQL@znc.in NOTICE "+m_pNetwork->GetIRCNick().GetNickMask()+" :Added session to do not track list.");
} else {
PutUser(":*LogMySQL!LogMySQL@znc.in NOTICE "+m_pNetwork->GetIRCNick().GetNickMask()+" :Already added session to do not track list.");
}
} }
virtual bool OnLoad(const CString& sArgs, CString& sMessage) { virtual bool OnLoad(const CString& sArgs, CString& sMessage) {

View File

@ -206,8 +206,12 @@ public:
break; break;
} }
} }
if (tracking) if (tracking) {
doNotTrackClient.push_back(m_pClient); doNotTrackClient.push_back(m_pClient);
PutUser(":*LogMySQL!LogMySQL@znc.in NOTICE "+m_pNetwork->GetIRCNick().GetNickMask()+" :Added session to do not track list.");
} else {
PutUser(":*LogMySQL!LogMySQL@znc.in NOTICE "+m_pNetwork->GetIRCNick().GetNickMask()+" :Already added session to do not track list.");
}
} }
virtual bool OnLoad(const CString& sArgs, CString& sMessage) { virtual bool OnLoad(const CString& sArgs, CString& sMessage) {