diff options
author | Huynh Tran <nthuynh75@gmail.com> | 2005-06-19 12:46:25 +0000 |
---|---|---|
committer | Huynh Tran <nthuynh75@gmail.com> | 2005-06-19 12:46:25 +0000 |
commit | 92705ce7bc5d3360ed79b2ecbc2aa0fc29090840 (patch) | |
tree | 1bbc827a79e2010d3ef8c669cc7577d8299e9874 /src/main.cpp | |
parent | f194e2fb62234ff66d0ee12282ce4a22aa237e89 (diff) | |
download | manaserv-92705ce7bc5d3360ed79b2ecbc2aa0fc29090840.tar.gz manaserv-92705ce7bc5d3360ed79b2ecbc2aa0fc29090840.tar.bz2 manaserv-92705ce7bc5d3360ed79b2ecbc2aa0fc29090840.tar.xz manaserv-92705ce7bc5d3360ed79b2ecbc2aa0fc29090840.zip |
Passwords are now encrypted when creating a new Account, added unit tests for the Account class and moved functors into a separate header file for reuse.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8f702be6..f5de932f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -180,7 +180,9 @@ int main(int argc, char *argv[]) session->startListen(connectionHandler, SERVER_PORT); LOG_INFO("Listening on port " << SERVER_PORT << "...") - tmwserv::Storage& store = tmwserv::Storage::instance(); + using namespace tmwserv; + + Storage& store = Storage::instance(); LOG_INFO("Number of accounts on server: " << store.getAccountCount()) |