diff options
author | Huynh Tran <nthuynh75@gmail.com> | 2005-06-21 19:46:40 +0000 |
---|---|---|
committer | Huynh Tran <nthuynh75@gmail.com> | 2005-06-21 19:46:40 +0000 |
commit | 49d79a345c8c4929d9bb787af9f4f0090c888537 (patch) | |
tree | 387b3a8d738d570ad1493be0273751c7a145cf20 /src/main.cpp | |
parent | 816d8acd16faeb20713c3d09466003a444940f6f (diff) | |
download | manaserv-49d79a345c8c4929d9bb787af9f4f0090c888537.tar.gz manaserv-49d79a345c8c4929d9bb787af9f4f0090c888537.tar.bz2 manaserv-49d79a345c8c4929d9bb787af9f4f0090c888537.tar.xz manaserv-49d79a345c8c4929d9bb787af9f4f0090c888537.zip |
Improved Storage APIs and moved debug code to unit tests.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index f5de932f..b8a493f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -182,9 +182,7 @@ int main(int argc, char *argv[]) using namespace tmwserv; - Storage& store = Storage::instance(); - - LOG_INFO("Number of accounts on server: " << store.getAccountCount()) + Storage& store = Storage::instance("tmw"); // Test the database retrieval code LOG_INFO("Attempting to retrieve account with username 'nym'") |