aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/authserver/Main.cpp')
-rw-r--r--src/server/authserver/Main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp
index ad04a52c7db..988ee901139 100644
--- a/src/server/authserver/Main.cpp
+++ b/src/server/authserver/Main.cpp
@@ -39,7 +39,8 @@
#include "SystemConfig.h"
#include "Util.h"
#include "RealmList.h"
-#include "AuthServer.h"
+#include "AsyncAcceptor.h"
+#include "AuthSession.h"
#ifdef __linux__
@@ -170,7 +171,7 @@ int main(int argc, char** argv)
std::string bindIp = sConfigMgr->GetStringDefault("BindIP", "0.0.0.0");
- AuthServer authServer(_ioService, bindIp, port);
+ AsyncAcceptor<AuthSession> authServer(_ioService, bindIp, port);
// Set signal handlers
boost::asio::signal_set signals(_ioService, SIGINT, SIGTERM);