diff options
Diffstat (limited to 'plugins/TabSRMM/src/mim.h')
-rw-r--r-- | plugins/TabSRMM/src/mim.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/mim.h b/plugins/TabSRMM/src/mim.h index 56d9ebde8d..de661242da 100644 --- a/plugins/TabSRMM/src/mim.h +++ b/plugins/TabSRMM/src/mim.h @@ -116,8 +116,12 @@ public: static int __forceinline GetByte(const MCONTACT hContact, const char *szSetting, int uDefault)
{ return db_get_b(hContact, SRMSGMOD_T, szSetting, uDefault); }
- static bool __forceinline GetBool(const char *szModule, const char *szSetting, bool uDefault)
- { return db_get_b(0, szModule, szSetting, uDefault) != 0; }
+ static bool __forceinline GetBool(const char *szSetting, bool bDefault)
+ { return db_get_b(0, SRMSGMOD_T, szSetting, bDefault) != 0; }
+ static bool __forceinline GetBool(const char *szModule, const char *szSetting, bool bDefault)
+ { return db_get_b(0, szModule, szSetting, bDefault) != 0; }
+ static bool __forceinline GetBool(const MCONTACT hContact, const char *szSetting, bool bDefault)
+ { return db_get_b(hContact, SRMSGMOD_T, szSetting, bDefault) != 0; }
/*
* path utilities
|