Skip to content

Commit

Permalink
Don't let people send empty messages in game gathering/joining dialog…
Browse files Browse the repository at this point in the history
…s too
  • Loading branch information
Kolfering committed Aug 30, 2024
1 parent bd8f25a commit 836bcfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source_Files/Network/Metaserver/network_metaserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ MetaserverClient::pumpAll()
void
MetaserverClient::sendChatMessage(const std::string& message)
{
if (message.empty()) return;
if (message == ".available" || message == ".avail") {
if(m_notificationAdapter) {
string players = "Available Players: ";
Expand Down

0 comments on commit 836bcfd

Please sign in to comment.