summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 00:00:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 00:00:43 +0300
commitde898be6a2857dababe3eaa2bfb394a9ea92ecbe (patch)
tree69543eead49b6038d88e14cfc4f4856ca27a1cee /plugins/CloudFile/src/events.cpp
parent35e2289786a7f1542573d1a58ebc971970ea981c (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.cpp4
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