summaryrefslogtreecommitdiff
path: root/protocols/CloudFile
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/CloudFile')
-rw-r--r--protocols/CloudFile/src/events.cpp2
-rw-r--r--protocols/CloudFile/src/main.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/protocols/CloudFile/src/events.cpp b/protocols/CloudFile/src/events.cpp
index 010729dddb..8f254bdaa8 100644
--- a/protocols/CloudFile/src/events.cpp
+++ b/protocols/CloudFile/src/events.cpp
@@ -36,8 +36,6 @@ static int OnFileDialogCanceled(WPARAM hContact, LPARAM)
int OnModulesLoaded(WPARAM, LPARAM)
{
- InitializeMenus();
-
HookEvent(ME_PROTO_ACK, OnProtoAck);
// srfile
diff --git a/protocols/CloudFile/src/main.cpp b/protocols/CloudFile/src/main.cpp
index 2b9ffd6c2d..cf43d16dcd 100644
--- a/protocols/CloudFile/src/main.cpp
+++ b/protocols/CloudFile/src/main.cpp
@@ -36,7 +36,7 @@ int CMPlugin::Load()
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
InitializeIcons();
+ InitializeMenus();
InitializeServices();
-
return 0;
}