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) {