diff options
Diffstat (limited to 'Stars45/NetLobbyServer.cpp')
-rw-r--r-- | Stars45/NetLobbyServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NetLobbyServer.cpp b/Stars45/NetLobbyServer.cpp index 1c3ce30..13ba07b 100644 --- a/Stars45/NetLobbyServer.cpp +++ b/Stars45/NetLobbyServer.cpp @@ -202,7 +202,7 @@ NetLobbyServer::SendMOTD(NetUser* user) Text* line = motd[i];
sprintf_s(buffer, "id %d user \" \" msg \"%s\"",
- motd_index++, *line);
+ motd_index++, line->data());
SendData(user, NET_LOBBY_CHAT, buffer);
}
|