summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-23 08:27:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-23 08:27:48 -0600
commit1850cca2e8ba43b1e70385d848dca9f3a91fef4a (patch)
tree9dd6493bd4a58d20e931115dac0cdab274144653
parente3e835e1c03b38d7819b5cb8aba92e0f300b10fa (diff)
downloadmana-1850cca2e8ba43b1e70385d848dca9f3a91fef4a.tar.gz
mana-1850cca2e8ba43b1e70385d848dca9f3a91fef4a.tar.bz2
mana-1850cca2e8ba43b1e70385d848dca9f3a91fef4a.tar.xz
mana-1850cca2e8ba43b1e70385d848dca9f3a91fef4a.zip
Fix CommandHandler for TMWServ
-rw-r--r--src/commandhandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index a86f9f4b..ae544295 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -41,11 +41,13 @@
#include "utils/stringutils.h"
#include "utils/strprintf.h"
-#ifdef EATHENA_SUPPORT
+#ifdef TMWSERV_SUPPORT
+CommandHandler::CommandHandler()
+#else
CommandHandler::CommandHandler(Network *network):
mNetwork(network)
-{}
#endif
+{}
void CommandHandler::handleCommand(const std::string &command)
{