summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/ss_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusManager/src/ss_options.cpp')
-rw-r--r--plugins/StatusManager/src/ss_options.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/StatusManager/src/ss_options.cpp b/plugins/StatusManager/src/ss_options.cpp
index 4faef91bd1..8dddc81d68 100644
--- a/plugins/StatusManager/src/ss_options.cpp
+++ b/plugins/StatusManager/src/ss_options.cpp
@@ -557,9 +557,7 @@ class CSSAdvancedOptDlg : public CDlgBase
// fill status box
SMProto* ps = (SMProto*)lstAccount.GetItemData(idx);
- int flags = (CallProtoService(ps->m_szName, PS_GETCAPS, PFLAGNUM_2, 0))&~(CallProtoService(ps->m_szName, PS_GETCAPS, PFLAGNUM_5, 0));
- if (flags == 0)
- flags = PF2_ONLINE;
+ int flags = GetStatusFlags(ps->m_szName);
lstStatus.ResetContent();
for (auto &it : statusModes) {