summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/WinPopup/src/scanner.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-04 14:27:04 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-04 14:27:04 +0000
commitc7181615b01d42717df5a4cc557995fe8970e555 (patch)
tree829b619062f5630b15701a5faaaf16019b893ae6 /plugins/!NotAdopted/WinPopup/src/scanner.cpp
parente08dd78ccf05f9d5d768e5436fcfc5e8126356fe (diff)
Partial adopttion of VypressChat and WinPopup plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@8849 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/WinPopup/src/scanner.cpp')
-rw-r--r--plugins/!NotAdopted/WinPopup/src/scanner.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/!NotAdopted/WinPopup/src/scanner.cpp b/plugins/!NotAdopted/WinPopup/src/scanner.cpp
index 5074e97a5f..c489e60db4 100644
--- a/plugins/!NotAdopted/WinPopup/src/scanner.cpp
+++ b/plugins/!NotAdopted/WinPopup/src/scanner.cpp
@@ -91,8 +91,8 @@ HANDLE contact_scanner::GetNextScannableContact()
{
// Проверка на совпадение протокола контакта
if ( IsMyContact( hContact ) &&
- !DBGetContactSettingByte (hContact, "CList", "NotOnList", 0) &&
- !DBGetContactSettingByte (hContact, "CList", "Hidden", 0) )
+ !db_get_b (hContact, "CList", "NotOnList", 0) &&
+ !db_get_b (hContact, "CList", "Hidden", 0) )
{
// Вычисление сколько секунд прошло со времени последнего
// обновления статуса контакта. Нужна проверка?
@@ -132,7 +132,7 @@ int contact_scanner::ScanContact(HANDLE hContact)
int status = ID_STATUS_OFFLINE;
// Получение статуса "Always Online"
- if ( DBGetContactSettingByte( hContact, modname, "AlwaysOnline", FALSE ) )
+ if ( db_get_b( hContact, modname, "AlwaysOnline", FALSE ) )
status = ID_STATUS_ONLINE;
// Получение имени контакта