summaryrefslogtreecommitdiff
path: root/src/core/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/modules.cpp')
-rw-r--r--src/core/modules.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/modules.cpp b/src/core/modules.cpp
index a6b6d2d9e3..5a991a6d39 100644
--- a/src/core/modules.cpp
+++ b/src/core/modules.cpp
@@ -137,8 +137,7 @@ int LoadDefaultModules(void)
if (LoadSkinHotkeys()) return 1;
if (LoadFontserviceModule()) return 1;
if (LoadSrmmModule()) return 1;
- InitChatModule();
-
+ if (LoadChatModule()) return 1;
if (LoadDescButtonModule()) return 1;
if (LoadOptionsModule()) return 1;
if (LoadNetlibModule()) return 1;
@@ -148,7 +147,6 @@ int LoadDefaultModules(void)
LoadDbAccounts(); // retrieves the account array from a database
if (LoadContactsModule()) return 1;
if (LoadContactListModule()) return 1; // prepare contact list interface
- // LoadChatModule();
if (LoadAddContactModule()) return 1;
if (LoadNewPluginsModule()) return 1; // will call Load(void) on everything, clist will load first