From 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 20:12:53 +0300 Subject: end of ME_OPT_INITIALISE related zoo in another plugins --- plugins/SimpleStatusMsg/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/SimpleStatusMsg') diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index 2e89bfffdd..95fc4dcff0 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -1562,7 +1562,6 @@ static int OnModulesLoaded(WPARAM, LPARAM) RegisterHotkey(); - HookEvent(ME_OPT_INITIALISE, InitOptions); h_statusmodechange = HookEvent(ME_CLIST_STATUSMODECHANGE, ChangeStatusMessage); HookEvent(ME_PROTO_ACK, ProcessProtoAck); HookEvent(ME_IDLE_CHANGED, OnIdleChanged); @@ -1676,6 +1675,8 @@ int CMPlugin::Load() accounts = (PROTOACCOUNTS *)mir_alloc(sizeof(PROTOACCOUNTS)); db_set_w(NULL, "CList", "Status", (WORD)ID_STATUS_OFFLINE); + + HookEvent(ME_OPT_INITIALISE, InitOptions); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); HookEvent(ME_PROTO_ACCLISTCHANGED, OnAccListChanged); -- cgit v1.2.3