diff options
| author | joschiwald <joschiwald.trinity@gmail.com> | 2014-11-08 02:55:45 +0100 |
|---|---|---|
| committer | joschiwald <joschiwald.trinity@gmail.com> | 2014-11-08 02:55:45 +0100 |
| commit | f8e935a0b7a947a632c690a4040ea96499038a98 (patch) | |
| tree | b98a11709f867039c847c67538f45c70a43f060f /src/server/worldserver/RemoteAccess | |
| parent | b646c53aa874b145745e2caa2517199dee5ba803 (diff) | |
Core/NetworkIO: updated CMSG_RANDOMIZE_CHAR_NAME, SMSG_RANDOMIZE_CHAR_NAME, SMSG_CLIENTCACHE_VERSION, SMSG_MOTD
Diffstat (limited to 'src/server/worldserver/RemoteAccess')
| -rw-r--r-- | src/server/worldserver/RemoteAccess/RASession.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/worldserver/RemoteAccess/RASession.cpp b/src/server/worldserver/RemoteAccess/RASession.cpp index c2b89cc0076..65ba3d4cbd9 100644 --- a/src/server/worldserver/RemoteAccess/RASession.cpp +++ b/src/server/worldserver/RemoteAccess/RASession.cpp @@ -73,7 +73,9 @@ void RASession::Start() TC_LOG_INFO("commands.ra", "User %s (IP: %s) authenticated correctly to RA", username.c_str(), GetRemoteIpAddress().c_str()); // Authentication successful, send the motd - Send(std::string(std::string(sWorld->GetMotd()) + "\r\n").c_str()); + for (std::string const& line : sWorld->GetMotd()) + Send(line.c_str()); + Send("\r\n"); // Read commands for (;;) |
