summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-18 23:14:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-18 23:14:19 +0300
commitc2e2c85262148dcf71450dfd3c7b33ef41eb84ec (patch)
treefe21b2d7677f955168dee25b4fea722dcd06c924 /plugins/WinterSpeak
parente3bea6d9c261c87d7f67ecc06392c0d0cd4fe2dc (diff)
code cleaning
- ACKTYPE_URL removed; - PF1_URL removed; - IEED_EVENT_URL removed; - another URL-related code cleaning
Diffstat (limited to 'plugins/WinterSpeak')
-rw-r--r--plugins/WinterSpeak/src/EventInformation.cpp1
-rw-r--r--plugins/WinterSpeak/src/SpeakAnnounce.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/plugins/WinterSpeak/src/EventInformation.cpp b/plugins/WinterSpeak/src/EventInformation.cpp
index f5c8e1ad9f..cb503f377a 100644
--- a/plugins/WinterSpeak/src/EventInformation.cpp
+++ b/plugins/WinterSpeak/src/EventInformation.cpp
@@ -9,7 +9,6 @@ EventInformation::EventInformation() : m_event_strings(), m_event_info()
{
// insert the event strings into a map for easy access
m_event_strings[EVENTTYPE_MESSAGE] = TranslateT("incoming message from %u");
- m_event_strings[EVENTTYPE_URL] = TranslateT("incoming URL from %u");
m_event_strings[EVENTTYPE_ADDED] = TranslateT("you have been added to %u's contact list");
m_event_strings[EVENTTYPE_AUTHREQUEST] = TranslateT("%u requests your authorization");
m_event_strings[EVENTTYPE_FILE] = TranslateT("there is an incoming file from %u");
diff --git a/plugins/WinterSpeak/src/SpeakAnnounce.cpp b/plugins/WinterSpeak/src/SpeakAnnounce.cpp
index 92eab57c48..e9b8160138 100644
--- a/plugins/WinterSpeak/src/SpeakAnnounce.cpp
+++ b/plugins/WinterSpeak/src/SpeakAnnounce.cpp
@@ -77,10 +77,6 @@ void SpeakAnnounce::incomingEvent(MCONTACT user, MEVENT event)
speak = m_db.getEventFlag(AnnounceDatabase::EventFlag_Message);
break;
- case EVENTTYPE_URL:
- speak = m_db.getEventFlag(AnnounceDatabase::EventFlag_Url);
- break;
-
case EVENTTYPE_ADDED:
speak = m_db.getEventFlag(AnnounceDatabase::EventFlag_Added);
break;