diff options
-rw-r--r-- | src/account-server/accounthandler.cpp | 1 | ||||
-rw-r--r-- | src/protocol.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index 5f13af20..507b4f90 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -255,6 +255,7 @@ void AccountHandler::handleLoginMessage(AccountClient &client, MessageIn &msg) client.status = CLIENT_CONNECTED; reply.writeByte(ERRMSG_OK); + reply.writeString(Configuration::getValue("defaultUpdateHost","http://update.manasource.org")); client.send(reply); // Acknowledge login // Return information about available characters diff --git a/src/protocol.h b/src/protocol.h index 92a66381..869d17ba 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -49,7 +49,7 @@ enum { PAMSG_REQUEST_REGISTER_INFO = 0x0005, // APMSG_REGISTER_INFO_RESPONSE = 0x0006, // B byte registrationAllowed, byte minNameLength, byte maxNameLength, string captchaURL, string captchaInstructions PAMSG_LOGIN = 0x0010, // L version, S username, S password - APMSG_LOGIN_RESPONSE = 0x0012, // B error + APMSG_LOGIN_RESPONSE = 0x0012, // B error, [S update host] PAMSG_LOGOUT = 0x0013, // - APMSG_LOGOUT_RESPONSE = 0x0014, // B error PAMSG_CHAR_CREATE = 0x0020, // S name, B hair style, B hair color, B gender, W*6 stats |