From 9b99466b95de4d2666911fd622ff2a5005367516 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Oct 2017 13:08:08 +0300 Subject: StatusManager to use the common hLangpack variable instead of dealing with separate variables which refer to the same value anyway --- plugins/StatusManager/src/KeepStatus/keepstatus.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugins/StatusManager/src/KeepStatus/keepstatus.cpp') diff --git a/plugins/StatusManager/src/KeepStatus/keepstatus.cpp b/plugins/StatusManager/src/KeepStatus/keepstatus.cpp index f0c0051e60..def0bdf677 100644 --- a/plugins/StatusManager/src/KeepStatus/keepstatus.cpp +++ b/plugins/StatusManager/src/KeepStatus/keepstatus.cpp @@ -19,8 +19,6 @@ #include "..\stdafx.h" -int hKSLangpack = 0; - struct TimerInfo { int timer; @@ -1203,9 +1201,6 @@ int KSModuleLoaded(WPARAM, LPARAM) void KeepStatusLoad() { - MUUID muidLast = MIID_LAST; - hKSLangpack = GetPluginLangId(muidLast, 0); - HookEvent(ME_SYSTEM_MODULESLOADED, KSModuleLoaded); CreateHookableEvent(ME_KS_CONNECTIONEVENT); -- cgit v1.2.3