diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-30 01:57:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-30 02:32:13 +0300 |
commit | 9f752d5431364c052b364045015d3574da2c320c (patch) | |
tree | 9278797f892129e42fde74656db032dc480c4490 /src/client.cpp | |
parent | 8158669fde4f4a32191d6b052586e7cf0889ab7e (diff) | |
download | mv-9f752d5431364c052b364045015d3574da2c320c.tar.gz mv-9f752d5431364c052b364045015d3574da2c320c.tar.bz2 mv-9f752d5431364c052b364045015d3574da2c320c.tar.xz mv-9f752d5431364c052b364045015d3574da2c320c.zip |
Dont create guild manager instance if guild bot support not enabled.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
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) { |