summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg/src/utils.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-02-16 08:37:01 +0000
committerRobert Pösel <robyer@seznam.cz>2015-02-16 08:37:01 +0000
commitec76e809446ffdf027297922d12f8dcf642e5bc6 (patch)
treeca21595341eab19f307622f681b5453c1d9dd9d4 /plugins/SimpleStatusMsg/src/utils.cpp
parent33c415a0771d01febf4194fd99efe5a4e9c650a1 (diff)
SimpleStatusMsg: For new accounts use startup status "Last status" instead of "Offline" by default; Version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg/src/utils.cpp')
-rw-r--r--plugins/SimpleStatusMsg/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleStatusMsg/src/utils.cpp b/plugins/SimpleStatusMsg/src/utils.cpp
index e199759257..b77b652757 100644
--- a/plugins/SimpleStatusMsg/src/utils.cpp
+++ b/plugins/SimpleStatusMsg/src/utils.cpp
@@ -148,7 +148,7 @@ int GetStartupStatus(const char *szProto)
char szSetting[80];
mir_snprintf(szSetting, SIZEOF(szSetting), "Startup%sStatus", szProto);
- status_mode = db_get_w(NULL, "SimpleStatusMsg", szSetting, ID_STATUS_OFFLINE);
+ status_mode = db_get_w(NULL, "SimpleStatusMsg", szSetting, ID_STATUS_CURRENT);
if (status_mode == ID_STATUS_CURRENT) {
// load status used for this proto last time
mir_snprintf(szSetting, SIZEOF(szSetting), "Last%sStatus", szProto);