diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-10-19 01:30:37 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-10-19 01:30:37 +0200 |
commit | 3e17bfe4f2e5e64f9528c26b38d4241ca46f1082 (patch) | |
tree | 940e98c492e136fa1d4bbd83abacc3d90b90adb8 /src/Client/UserCommands.cpp | |
parent | 8635603e2f4f8b61026f69532f3cda51bd711f91 (diff) | |
download | mad-3e17bfe4f2e5e64f9528c26b38d4241ca46f1082.tar mad-3e17bfe4f2e5e64f9528c26b38d4241ca46f1082.zip |
Client: Added support for paged output
Diffstat (limited to 'src/Client/UserCommands.cpp')
-rw-r--r-- | src/Client/UserCommands.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Client/UserCommands.cpp b/src/Client/UserCommands.cpp index fe5343c..2fc33db 100644 --- a/src/Client/UserCommands.cpp +++ b/src/Client/UserCommands.cpp @@ -20,7 +20,7 @@ #include "UserCommands.h" #include "Application.h" #include "CommandParser.h" -#include "PasswordReader.h" +#include "ConsoleUtil.h" #include <Common/RequestManager.h> #include <Common/UserManager.h> @@ -511,8 +511,8 @@ void UserCommands::setPasswordCommand(CommandParser *commandParser, const std::v return; } - Core::String password = PasswordReader::readPassword("Password: "); - Core::String password2 = PasswordReader::readPassword("Verify password: "); + Core::String password = ConsoleUtil::readPassword("Password: "); + Core::String password2 = ConsoleUtil::readPassword("Verify password: "); if(password != password2) { std::cerr << "Passwords do not match." << std::endl; |