diff options
author | George Hazan <george.hazan@gmail.com> | 2014-10-04 14:12:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-10-04 14:12:16 +0000 |
commit | 9a942c19b93060396982b19a665a231e11324ebf (patch) | |
tree | 3181409249578a3c4c9739483a1eb97cd644b546 /protocols/JabberG/src/jabber.cpp | |
parent | 87cae0ab16baff67784eabfa41464bb598204b13 (diff) |
Jabber:
- fix for a very rare crash with Jabber info frame;
- unused vavriables removed;
git-svn-id: http://svn.miranda-ng.org/main/trunk@10687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index 43047a495b..3dfa48c3e9 100644 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -35,7 +35,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HINSTANCE hInst;
int hLangpack;
-bool g_bShutdown = false;
int g_cbCountries;
CountryListEntry *g_countries;
@@ -160,12 +159,6 @@ static int OnModulesLoaded(WPARAM, LPARAM) return 0;
}
-static int OnPreShutdown(WPARAM, LPARAM)
-{
- g_bShutdown = true;
- return 0;
-}
-
///////////////////////////////////////////////////////////////////////////////
// OnLoad - initialize the plugin instance
@@ -225,7 +218,6 @@ extern "C" int __declspec(dllexport) Load() hExtraMood = ExtraIcon_Register("mood", LPGEN("Jabber Mood"), "jabber_contemplative");
g_MenuInit();
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
- HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
JabberUserInfoInit();
return 0;
}
|