From c2e2c85262148dcf71450dfd3c7b33ef41eb84ec Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jan 2019 23:14:19 +0300 Subject: code cleaning - ACKTYPE_URL removed; - PF1_URL removed; - IEED_EVENT_URL removed; - another URL-related code cleaning --- plugins/HistoryStats/src/contact.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugins/HistoryStats/src/contact.cpp') diff --git a/plugins/HistoryStats/src/contact.cpp b/plugins/HistoryStats/src/contact.cpp index 8a03c1b746..433ec64da9 100644 --- a/plugins/HistoryStats/src/contact.cpp +++ b/plugins/HistoryStats/src/contact.cpp @@ -19,7 +19,6 @@ Contact::Contact(Statistic* pStatistic, int nSlots, const ext::string& nick, con m_ChatDurMin(0xFFFFFFFF), m_ChatDurMax(0), m_ChatDurSum(0), - m_Urls(0, 0), m_Files(0, 0), m_NumContacts(nContacts), m_NumSubcontacts(nSubcontacts), @@ -89,10 +88,6 @@ void Contact::addEvent(WORD eventType, bool bOutgoing) InOut* pIO = nullptr; switch (eventType) { - case EVENTTYPE_URL: - pIO = &m_Urls; - break; - case EVENTTYPE_FILE: pIO = &m_Files; break; @@ -135,7 +130,6 @@ void Contact::merge(const Contact& other) } m_Files += other.m_Files; - m_Urls += other.m_Urls; m_NumContacts += other.m_NumContacts; m_NumSubcontacts += other.m_NumSubcontacts; -- cgit v1.2.3