diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-13 09:55:33 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-13 09:55:33 +0000 |
commit | 20b7acf8d94c89452f7d603c703dbf4cfc95f57f (patch) | |
tree | c74e75368440ac5eff14b47661afd0c004cb5ccf /src/account-server/accounthandler.cpp | |
parent | dddbb52f6724b8b0dd6f99b996e50ad9bfbca432 (diff) | |
download | manaserv-20b7acf8d94c89452f7d603c703dbf4cfc95f57f.tar.gz manaserv-20b7acf8d94c89452f7d603c703dbf4cfc95f57f.tar.bz2 manaserv-20b7acf8d94c89452f7d603c703dbf4cfc95f57f.tar.xz manaserv-20b7acf8d94c89452f7d603c703dbf4cfc95f57f.zip |
Deleted obsolete files. Cleaned configuration. Removed obsolete SQL tables.
Diffstat (limited to 'src/account-server/accounthandler.cpp')
-rw-r--r-- | src/account-server/accounthandler.cpp | 11 |
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: |