summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index 01c572e268..e10b9d2253 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -30,6 +30,8 @@
#include "commonheaders.h"
+void Chat_ModulesLoaded();
+
CGlobals PluginConfig;
CGlobals* pConfig = &PluginConfig;
@@ -339,6 +341,7 @@ int CGlobals::ModulesLoaded(WPARAM wParam, LPARAM lParam)
PluginConfig.reloadSystemModulesChanged();
+ ::Chat_ModulesLoaded();
::BuildContainerMenu();
::CB_InitDefaultButtons();
@@ -375,7 +378,6 @@ int CGlobals::ModulesLoaded(WPARAM wParam, LPARAM lParam)
::RegisterFontServiceFonts();
::CacheLogFonts();
- ::Chat_ModulesLoaded(wParam, lParam);
if (PluginConfig.g_PopupAvail)
TN_ModuleInit();
@@ -537,8 +539,6 @@ int CGlobals::MetaContactEvent(WPARAM wParam, LPARAM lParam)
int CGlobals::PreshutdownSendRecv(WPARAM wParam, LPARAM lParam)
{
- ::Chat_PreShutdown();
-
::TN_ModuleDeInit();
while(pFirstContainer){