summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 13908bf9..9c198dbb 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -65,7 +65,7 @@ WrongDataNoticeListener::action(const std::string &eventId)
}
LoginDialog::LoginDialog():
- Window("Login"), mStatus(NET_IDLE), registration(false)
+ Window("Login"), mStatus(NET_IDLE)
{
userLabel = new gcn::Label("Name:");
passLabel = new gcn::Label("Password:");
@@ -229,10 +229,6 @@ LoginDialog::logic()
logger->log("Connected...");
std::string user = userField->getText();
const std::string password = passField->getText();
- if (registration)
- {
- user += "_M";
- }
attemptLogin(user, password);
mStatus = NET_DATA;
break;