summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-14 16:35:09 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-14 16:35:09 +0000
commit816d59fe6794436f499841a36b02058a96bfc9da (patch)
tree9b96a41ea44bc4292270b2f4b033936fd041ddfe /src/gui/login.cpp
parent1a0108080d6f9f2708253b58f34b0adc0a679b24 (diff)
downloadmana-client-816d59fe6794436f499841a36b02058a96bfc9da.tar.gz
mana-client-816d59fe6794436f499841a36b02058a96bfc9da.tar.bz2
mana-client-816d59fe6794436f499841a36b02058a96bfc9da.tar.xz
mana-client-816d59fe6794436f499841a36b02058a96bfc9da.zip
Removed unused var.
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;