diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:28:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:28:08 +0000 |
commit | 2bb421f6b7b7ded13f6240259e81ab81d47e663b (patch) | |
tree | aad40e7409814c5ad30509b7f810f6fd3e0dce72 /protocols/WhatsApp/src/proto.h | |
parent | 2b55a49b73ec41e782cd213d24d7ede6c62ade92 (diff) |
protocol DB helpers for Wassup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r-- | protocols/WhatsApp/src/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index a143922df5..778db45ccf 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -131,7 +131,7 @@ public: bool IsGroupChat(HANDLE hC, bool checkIsAdmin = false)
{
- return db_get_b(hC, m_szModuleName, "SimpleChatRoom", 0) > (checkIsAdmin ? 1 : 0);
+ return getByte(hC, "SimpleChatRoom", 0) > (checkIsAdmin ? 1 : 0);
}
// Registration
|