diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-13 23:17:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-13 23:17:16 +0300 |
commit | 37bf075d4d326f6d5577fd2ce81f0e75d5ee7311 (patch) | |
tree | 1b2f1fbf833ec7ee005e8f430622a5ed2b564c79 /plugins/YAMN/src/yamn.cpp | |
parent | 70ac0a879897a5100308f70d667267e5962060d4 (diff) |
YAMN -> g_plugin
Diffstat (limited to 'plugins/YAMN/src/yamn.cpp')
-rw-r--r-- | plugins/YAMN/src/yamn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAMN/src/yamn.cpp b/plugins/YAMN/src/yamn.cpp index 9343f0f53f..cd5a8514cc 100644 --- a/plugins/YAMN/src/yamn.cpp +++ b/plugins/YAMN/src/yamn.cpp @@ -232,11 +232,11 @@ ChangeIsCountingStatusLabel: #endif
if (((ActualAccount->isCounting) != 0) != isAccountCounting) {
ActualAccount->isCounting=isAccountCounting;
- WORD cStatus = db_get_w(ActualAccount->hContact, YAMN_DBMODULE, "Status", 0);
+ WORD cStatus = g_plugin.getWord(ActualAccount->hContact, "Status");
switch (cStatus) {
case ID_STATUS_ONLINE:
case ID_STATUS_OFFLINE:
- db_set_w(ActualAccount->hContact, YAMN_DBMODULE, "Status", isAccountCounting?ID_STATUS_ONLINE:ID_STATUS_OFFLINE);
+ g_plugin.setWord(ActualAccount->hContact, "Status", isAccountCounting ? ID_STATUS_ONLINE : ID_STATUS_OFFLINE);
default: break;
}
}
|