diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-08-26 17:54:16 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-08-26 18:11:46 +0200 |
commit | c538f6372d9068140231749b0225a6a355009074 (patch) | |
tree | f3631a48523f1d7415567c6daec0999121cbd877 /src | |
parent | 627e1271f0ac2e7bd95a83f521ecbcf1b554ba80 (diff) | |
download | mana-c538f6372d9068140231749b0225a6a355009074.tar.gz mana-c538f6372d9068140231749b0225a6a355009074.tar.bz2 mana-c538f6372d9068140231749b0225a6a355009074.tar.xz mana-c538f6372d9068140231749b0225a6a355009074.zip |
Fixing segmentation fault when creating a new account
This resolves http://bugs.manasource.org/view.php?id=171
Reviewed-by: Bertram.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/manaserv/loginhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp index cb25f584..61671824 100644 --- a/src/net/manaserv/loginhandler.cpp +++ b/src/net/manaserv/loginhandler.cpp @@ -425,6 +425,8 @@ void LoginHandler::chooseServer(unsigned int server) void LoginHandler::registerAccount(LoginData *loginData) { + mLoginData = loginData; + MessageOut msg(PAMSG_REGISTER); msg.writeInt32(0); // client version |