diff options
author | Chaplain <aionthefirst@gmail.com> | 2013-09-01 22:45:40 +0300 |
---|---|---|
committer | Chaplain <aionthefirst@gmail.com> | 2013-09-02 19:40:31 +0300 |
commit | aa8bfeec4fe8e818ffc530b30de39cc86d89ff0d (patch) | |
tree | 413d852eed63303b95279cfc332f5ee6871d1425 /src/server/authserver/Main.cpp | |
parent | a0f4177f5d260d64710f201cca442c0348d3f7b0 (diff) |
Auth/Misc: Code cleanup.
*Random performance optimizations
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; |