diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-20 23:26:11 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-20 23:37:24 +0100 |
commit | b5963ec28aa76b1a19699a3d06247af93aae6bf5 (patch) | |
tree | 9a56c7408a8f3b7c66f785a775c93f793c934178 /src/logindata.h | |
parent | a05fad5acd9c0ff78a4ecd8bd213dd411b062f91 (diff) | |
download | mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.tar.gz mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.tar.bz2 mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.tar.xz mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.zip |
Renabled the dynamic updates
The update host can be optionally received from the server in a
succesful login response or register response message.
This change also merged Subversion commits 4425 and 4426:
........
r4425 | b_lindeijer | 2008-07-18 00:52:53 +0200 (Fri, 18 Jul 2008) | 3 lines
--
Added support for handling the custom eAthena packet that sends the update
host (patch by Sanga).
........
r4426 | b_lindeijer | 2008-07-18 01:08:17 +0200 (Fri, 18 Jul 2008) | 3 lines
--
Remove possible trailing slash at the end of the update host, since otherwise
there'll be two of them.
Diffstat (limited to 'src/logindata.h')
-rw-r--r-- | src/logindata.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/logindata.h b/src/logindata.h index 3d959ad4..c386f490 100644 --- a/src/logindata.h +++ b/src/logindata.h @@ -30,6 +30,7 @@ struct LoginData std::string password; std::string newPassword; std::string hostname; + std::string updateHost; std::string email; std::string newEmail; short port; @@ -39,14 +40,15 @@ struct LoginData void clear() { - username = ""; - password = ""; - newPassword = ""; - hostname = ""; - email = ""; - newEmail = ""; + username.clear(); + password.clear(); + newPassword.clear(); + hostname.clear(); + updateHost.clear(); + email.clear(); + newEmail.clear(); port = 0; }; }; -#endif +#endif // _TMW_LOGINDATA_H |