diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-06 00:00:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-06 00:00:43 +0300 |
commit | de898be6a2857dababe3eaa2bfb394a9ea92ecbe (patch) | |
tree | 69543eead49b6038d88e14cfc4f4856ca27a1cee /plugins/CloudFile/src/events.cpp | |
parent | 35e2289786a7f1542573d1a58ebc971970ea981c (diff) |
CloudFile: no need to create fake protocol instances just for search
Diffstat (limited to 'plugins/CloudFile/src/events.cpp')
-rw-r--r-- | plugins/CloudFile/src/events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/events.cpp b/plugins/CloudFile/src/events.cpp index aa79ee3288..f8770b5574 100644 --- a/plugins/CloudFile/src/events.cpp +++ b/plugins/CloudFile/src/events.cpp @@ -36,7 +36,8 @@ static int OnFileDialogCanceled(WPARAM hContact, LPARAM) int OnModulesLoaded(WPARAM, LPARAM) { - + InitializeMenus(); + HookEvent(ME_PROTO_ACK, OnProtoAck); // options @@ -51,6 +52,5 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_MSG_BUTTONPRESSED, OnSrmmButtonPressed); HookTemporaryEvent(ME_MSG_TOOLBARLOADED, OnSrmmToolbarLoaded); - return 0; }
\ No newline at end of file |