summaryrefslogtreecommitdiff
path: root/protocols/Weather/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r--protocols/Weather/src/weather_update.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/Weather/src/weather_update.cpp b/protocols/Weather/src/weather_update.cpp
index 82437dbb72..2b4f86d9ca 100644
--- a/protocols/Weather/src/weather_update.cpp
+++ b/protocols/Weather/src/weather_update.cpp
@@ -143,15 +143,6 @@ int CWeatherProto::UpdateWeather(MCONTACT hContact)
// set the update tag
setByte(hContact, "IsUpdated", TRUE);
- // save current condition for default station to be displayed after the update
- int old_status = m_iStatus;
- m_iStatus = iStatus;
-
- // a workaround for a default station that currently have an n/a icon assigned
- if (m_iStatus == ID_STATUS_OFFLINE)
- m_iStatus = ID_STATUS_CONNECTING;
- ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
-
// logging
if (Ch) {
// play the sound event