aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Main.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2013-09-03 14:59:56 -0700
committerSubv <subv2112@gmail.com>2013-09-03 14:59:56 -0700
commit3ec941bacf99d94e43e9dc948b34d4591aff7af2 (patch)
treeada4be8a994b2a89c27a685012ac1edf7e92cd0a /src/server/authserver/Main.cpp
parent2cfcf9d3ef6f06fbdd5d942177b4f57de03f95d4 (diff)
parentaa8bfeec4fe8e818ffc530b30de39cc86d89ff0d (diff)
Merge pull request #10697 from Chaplain/authserver
Auth/Misc: Code cleanup.
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;