summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_awaymsg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-28 21:28:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-28 21:28:50 +0000
commit190968e9803a32bd4e609176989564735098146c (patch)
treea3ab28871ffd27d84f401ebd9e4f79423c1823e8 /plugins/Clist_modern/modern_awaymsg.cpp
parent46c66c9252010602ba3194956e7710946066879b (diff)
database stubs moved to mir_core
git-svn-id: http://svn.miranda-ng.org/main/trunk@676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_awaymsg.cpp')
-rw-r--r--plugins/Clist_modern/modern_awaymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/modern_awaymsg.cpp b/plugins/Clist_modern/modern_awaymsg.cpp
index 97f2550a32..2445b27794 100644
--- a/plugins/Clist_modern/modern_awaymsg.cpp
+++ b/plugins/Clist_modern/modern_awaymsg.cpp
@@ -209,7 +209,7 @@ void amRequestAwayMsg(HANDLE hContact)
return;
//Do not re-ask for chat rooms
szProto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0);
- if (szProto == NULL || ModernGetSettingByte(hContact, szProto, "ChatRoom", 0) != 0)
+ if (szProto == NULL || db_get_b(hContact, szProto, "ChatRoom", 0) != 0)
return;
amAddHandleToChain(hContact);
}