summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/init.cpp')
-rw-r--r--protocols/IcqOscarJ/src/init.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/IcqOscarJ/src/init.cpp b/protocols/IcqOscarJ/src/init.cpp
index 8d21b12056..bf88320592 100644
--- a/protocols/IcqOscarJ/src/init.cpp
+++ b/protocols/IcqOscarJ/src/init.cpp
@@ -29,7 +29,6 @@
#include "m_icolib.h"
int hLangpack;
-bool g_bTerminated;
BOOL bPopupService = FALSE;
@@ -70,12 +69,6 @@ int ModuleLoad(WPARAM, LPARAM)
return 0;
}
-static int OnPreShutdown(WPARAM, LPARAM)
-{
- g_bTerminated = true;
- return 0;
-}
-
IconItem iconList[] =
{
{ LPGEN("Expand string edit"), "ICO_EXPANDSTRINGEDIT", IDI_EXPANDSTRINGEDIT }
@@ -101,8 +94,6 @@ extern "C" int __declspec(dllexport) Load(void)
HookEvent(ME_SYSTEM_MODULELOAD, ModuleLoad);
HookEvent(ME_SYSTEM_MODULEUNLOAD, ModuleLoad);
- HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
-
hExtraXStatus = ExtraIcon_RegisterIcolib("xstatus", LPGEN("ICQ xStatus"), "icq_xstatus13");
Icon_Register(g_plugin.getInst(), "ICQ", iconList, _countof(iconList));