diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-01-17 21:35:21 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-01-17 21:35:21 +0000 |
commit | 0a7b74009490ce82b9749ead9702c01a29b5e8ec (patch) | |
tree | b19388df89f2e4d7193473065ed2234aa358e0f7 /src | |
parent | 8528db93f80caec1a0c37742d289f13dbc7d2d33 (diff) | |
download | Mana-0a7b74009490ce82b9749ead9702c01a29b5e8ec.tar.gz Mana-0a7b74009490ce82b9749ead9702c01a29b5e8ec.tar.bz2 Mana-0a7b74009490ce82b9749ead9702c01a29b5e8ec.tar.xz Mana-0a7b74009490ce82b9749ead9702c01a29b5e8ec.zip |
Changed default server.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/register.cpp | 3 | ||||
-rw-r--r-- | src/main.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/register.cpp b/src/gui/register.cpp index 53826304..9e6a66ed 100644 --- a/src/gui/register.cpp +++ b/src/gui/register.cpp @@ -200,7 +200,8 @@ RegisterDialog::action(const gcn::ActionEvent &event) // No errors detected, register the new user. mRegisterButton->setEnabled(false); - mLoginData->hostname = config.getValue("host", "animesites.de"); + mLoginData->hostname = config.getValue( + "host", "server.themanaworld.org"); mLoginData->port = (short)config.getValue("port", 0); mLoginData->username = mUserField->getText(); mLoginData->password = mPasswordField->getText(); diff --git a/src/main.cpp b/src/main.cpp index 08fe693a..364b8a61 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -197,7 +197,7 @@ void init_engine(const Options &options) // Fill configuration with defaults logger->log("Initializing configuration..."); - config.setValue("host", "animesites.de"); + config.setValue("host", "server.themanaworld.org"); config.setValue("port", 6901); config.setValue("hwaccel", 0); #if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL @@ -535,7 +535,7 @@ int main(int argc, char *argv[]) if (!options.password.empty()) { loginData.password = options.password; } - loginData.hostname = config.getValue("host", "animesites.de"); + loginData.hostname = config.getValue("host", "server.themanaworld.org"); loginData.port = (short)config.getValue("port", 0); loginData.remember = config.getValue("remember", 0); |