summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp
index 2b74e1a4bf..98ccc45dfe 100644
--- a/protocols/ICQ-WIM/src/utils.cpp
+++ b/protocols/ICQ-WIM/src/utils.cpp
@@ -287,7 +287,7 @@ int CIcqProto::StatusFromPresence(const JSONNode &presence, MCONTACT hContact)
int iStatus;
if (wszStatus == L"online")
iStatus = ID_STATUS_ONLINE;
- if (wszStatus == L"offline")
+ else if (wszStatus == L"offline")
iStatus = ID_STATUS_OFFLINE;
else if (wszStatus == L"n/a")
iStatus = ID_STATUS_NA;