From 92705ce7bc5d3360ed79b2ecbc2aa0fc29090840 Mon Sep 17 00:00:00 2001 From: Huynh Tran Date: Sun, 19 Jun 2005 12:46:25 +0000 Subject: 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. --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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()) -- cgit v1.2.3-70-g09d2