summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-02-28 12:33:19 +0000
committerDavid Athay <ko2fan@gmail.com>2008-02-28 12:33:19 +0000
commit49c153eec0129fcb7afb651f1407a493e51134f6 (patch)
treeb48a211c4b6c9866e2bf12a860fd775379e235a0 /src/account-server/main-account.cpp
parent2c6abfdf3ccfca0650def767bf024f8496928a83 (diff)
downloadmanaserv-49c153eec0129fcb7afb651f1407a493e51134f6.tar.gz
manaserv-49c153eec0129fcb7afb651f1407a493e51134f6.tar.bz2
manaserv-49c153eec0129fcb7afb651f1407a493e51134f6.tar.xz
manaserv-49c153eec0129fcb7afb651f1407a493e51134f6.zip
Work in Progress commit of guilds.
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index e0d11c28..6c0fb3a0 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -33,11 +33,11 @@
#endif
#include "account-server/accounthandler.hpp"
-#include "account-server/guildmanager.hpp"
#include "account-server/serverhandler.hpp"
#include "account-server/dalstorage.hpp"
#include "chat-server/chatchannelmanager.hpp"
#include "chat-server/chathandler.hpp"
+#include "chat-server/guildmanager.hpp"
#include "common/configuration.hpp"
#include "net/connectionhandler.hpp"
#include "net/messageout.hpp"
@@ -150,11 +150,6 @@ static void initialize()
// Initialize the Chat channels manager
chatChannelManager = new ChatChannelManager;
-#if 0
- // Initialise the guild manager
- guildManager = new GuildManager;
-#endif
-
// --- Initialize the global handlers
// FIXME: Make the global handlers global vars or part of a bigger
// singleton or a local variable in the event-loop
@@ -194,9 +189,6 @@ static void deinitialize()
// Destroy Managers
delete chatChannelManager;
-#if 0
- delete guildManager;
-#endif
// Get rid of persistent data storage
delete storage;
@@ -293,8 +285,10 @@ static void parseOptions(int argc, char *argv[])
*/
int main(int argc, char *argv[])
{
+#ifdef PACKAGE_VERSION
LOG_INFO("The Mana World Account+Chat Server v" << PACKAGE_VERSION);
-
+#endif
+
// Parse Command Line Options
parseOptions(argc, argv);