From 5ac06c0927428a79b45772d78913dce633219a8a Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Wed, 22 Feb 2012 18:24:10 -0600 Subject: [PATCH] Added notice to confirm that the session was added to the Do Not Track list. --- logmysql.cpp | 6 +++++- logsqlite.cpp | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/logmysql.cpp b/logmysql.cpp index 9e1984f..e252c2e 100755 --- a/logmysql.cpp +++ b/logmysql.cpp @@ -293,8 +293,12 @@ public: break; } } - if (tracking) + if (tracking) { 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) { diff --git a/logsqlite.cpp b/logsqlite.cpp index cd2ee71..398a451 100755 --- a/logsqlite.cpp +++ b/logsqlite.cpp @@ -206,8 +206,12 @@ public: break; } } - if (tracking) + if (tracking) { 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) {