summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-06-09 18:31:39 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-06-09 18:31:39 +0000
commit8423eadde65c72c96392c506068c7977621f28e7 (patch)
treeca77ba1faae4763d1ce71ae0419c951974be1904 /protocols/VKontakte/src
parentf869f362e1ba362f5f473bbb032e3f8dc0ff22b8 (diff)
VKontakte:
-Unneeded hook removed git-svn-id: http://svn.miranda-ng.org/main/trunk@14087 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/main.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp
index 9a690049e0..e6ff1af0b9 100644
--- a/protocols/VKontakte/src/main.cpp
+++ b/protocols/VKontakte/src/main.cpp
@@ -53,14 +53,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD)
extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST};
/////////////////////////////////////////////////////////////////////////////////////////
-// OnModulesLoaded - execute some code when all plugins are initialized
-
-static int OnModulesLoaded(WPARAM, LPARAM)
-{
- return 0;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// OnLoad - initialize the plugin instance
static CVkProto* vkProtoInit(const char* pszProtoName, const TCHAR *tszUserName)
@@ -90,8 +82,6 @@ extern "C" int __declspec(dllexport) Load()
pd.fnUninit = (pfnUninitProto)vkProtoUninit;
pd.type = PROTOTYPE_PROTOCOL;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
-
- HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
return 0;
}