summaryrefslogtreecommitdiff
path: root/src/account-server/accounthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/account-server/accounthandler.cpp')
-rw-r--r--src/account-server/accounthandler.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index c86d06de..3c1d61a6 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -83,17 +83,6 @@ AccountHandler::processMessage(NetComputer *comp, MessageIn &message)
{
AccountClient &computer = *static_cast< AccountClient * >(comp);
- Storage &store = Storage::instance("tmw");
-
-#if defined (SQLITE_SUPPORT)
- // Reopen the db in this thread for sqlite, to avoid
- // Library Call out of sequence problem due to thread safe.
- store.setUser(config.getValue("dbuser", ""));
- store.setPassword(config.getValue("dbpass", ""));
- store.close();
- store.open();
-#endif
-
switch (message.getId())
{
case PAMSG_LOGIN: