Skip to content

Commit

Permalink
Redundancy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Aug 22, 2019
1 parent 661048d commit 43546e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.cpp
Expand Up @@ -785,7 +785,7 @@ bool server::is_login_allowed(socket_ptr socket, const simple_wml::node* const l
auto g_ptr { record.get_game() };
if(g_ptr != last_sent) {
// Note: This string is parsed by the client to identify lobby join messages!
record.get_game()->send_server_message_to_all(username + " has logged into the lobby");
g_ptr->send_server_message_to_all(username + " has logged into the lobby");
last_sent = g_ptr;
}
}
Expand Down

0 comments on commit 43546e4

Please sign in to comment.