summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 60af41ed3..2e3652188 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -794,9 +794,7 @@ int Client::exec()
if (mumbleManager)
mumbleManager->setServer(mCurrentServer.hostname);
- if (!guildManager)
- guildManager = new GuildManager();
- guildManager->init();
+ GuildManager::init();
if (!mConfigAutoSaved)
{