Skip to content

Commit

Permalink
Merge branch 'master' into task
Browse files Browse the repository at this point in the history
  • Loading branch information
Proxy-99 authored Oct 26, 2024
2 parents c0296b2 + e92702c commit f5d4a05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Server/mods/deathmatch/logic/CMainConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ bool CMainConfig::Load()
return false;
}

// Strip spaces from beginning and end of server name
m_strServerName = SString(m_strServerName).TrimStart(" ").TrimEnd(" ");

// Grab the forced server ip(s)
GetString(m_pRootNode, "serverip", m_strServerIP);
m_strServerIP = SString(m_strServerIP).Replace(" ", "");
Expand Down

0 comments on commit f5d4a05

Please sign in to comment.