aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Main.cpp
diff options
context:
space:
mode:
authorChaplain <aionthefirst@gmail.com>2013-09-01 22:45:40 +0300
committerChaplain <aionthefirst@gmail.com>2013-09-02 19:40:31 +0300
commitaa8bfeec4fe8e818ffc530b30de39cc86d89ff0d (patch)
tree413d852eed63303b95279cfc332f5ee6871d1425 /src/server/authserver/Main.cpp
parenta0f4177f5d260d64710f201cca442c0348d3f7b0 (diff)
Auth/Misc: Code cleanup.
*Random performance optimizations
Diffstat (limited to 'src/server/authserver/Main.cpp')
-rw-r--r--src/server/authserver/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp
index 9a6cc89fdd4..b16e86a7f9f 100644
--- a/src/server/authserver/Main.cpp
+++ b/src/server/authserver/Main.cpp
@@ -298,7 +298,7 @@ bool StartDB()
}
// NOTE: While authserver is singlethreaded you should keep synch_threads == 1. Increasing it is just silly since only 1 will be used ever.
- if (!LoginDatabase.Open(dbstring.c_str(), uint8(worker_threads), uint8(synch_threads)))
+ if (!LoginDatabase.Open(dbstring, uint8(worker_threads), uint8(synch_threads)))
{
TC_LOG_ERROR(LOG_FILTER_AUTHSERVER, "Cannot connect to database");
return false;