We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5afda0e + e92702c commit 905ac0cCopy full SHA for 905ac0c
Server/mods/deathmatch/logic/CMainConfig.cpp
@@ -133,6 +133,9 @@ bool CMainConfig::Load()
133
return false;
134
}
135
136
+ // Strip spaces from beginning and end of server name
137
+ m_strServerName = SString(m_strServerName).TrimStart(" ").TrimEnd(" ");
138
+
139
// Grab the forced server ip(s)
140
GetString(m_pRootNode, "serverip", m_strServerIP);
141
m_strServerIP = SString(m_strServerIP).Replace(" ", "");
0 commit comments