diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/SeenPlugin/src/main.cpp | |
parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff) |
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/SeenPlugin/src/main.cpp')
-rw-r--r-- | plugins/SeenPlugin/src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SeenPlugin/src/main.cpp b/plugins/SeenPlugin/src/main.cpp index 12f4ab156b..0882cee00f 100644 --- a/plugins/SeenPlugin/src/main.cpp +++ b/plugins/SeenPlugin/src/main.cpp @@ -69,13 +69,13 @@ void UninitHistoryDialog(void); static int MainInit(WPARAM, LPARAM)
{
- if (g_bFileActive = db_get_b(NULL, S_MOD, "FileOutput", 0))
+ if (g_bFileActive = db_get_b(0, S_MOD, "FileOutput", 0))
InitFileOutput();
- if (db_get_b(NULL, S_MOD, "MenuItem", 1))
+ if (db_get_b(0, S_MOD, "MenuItem", 1))
InitMenuitem();
- if (db_get_b(NULL, S_MOD, "UserinfoTab", 1))
+ if (db_get_b(0, S_MOD, "UserinfoTab", 1))
ehuserinfo = HookEvent(ME_USERINFO_INITIALISE, UserinfoInit);
if (ServiceExists(MS_TIPPER_ADDTRANSLATION))
@@ -102,9 +102,9 @@ int CMPlugin::Load() HookEvent(ME_DB_CONTACT_SETTINGCHANGED, UpdateValues);
HookEvent(ME_PROTO_ACK, ModeChange);
- includeIdle = (BOOL)db_get_b(NULL, S_MOD, "IdleSupport", 1);
+ includeIdle = (BOOL)db_get_b(0, S_MOD, "IdleSupport", 1);
- if (db_get_b(NULL, S_MOD, "MissedOnes", 0))
+ if (db_get_b(0, S_MOD, "MissedOnes", 0))
ehmissed_proto = HookEvent(ME_PROTO_ACK, ModeChange_mo);
LoadWatchedProtos();
|