diff options
author | Subv <subv2112@gmail.com> | 2013-09-03 14:59:56 -0700 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2013-09-03 14:59:56 -0700 |
commit | 3ec941bacf99d94e43e9dc948b34d4591aff7af2 (patch) | |
tree | ada4be8a994b2a89c27a685012ac1edf7e92cd0a /src/server/authserver/Main.cpp | |
parent | 2cfcf9d3ef6f06fbdd5d942177b4f57de03f95d4 (diff) | |
parent | aa8bfeec4fe8e818ffc530b30de39cc86d89ff0d (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.cpp | 2 |
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; |