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.
1 parent 353b6c6 commit e92702cCopy full SHA for e92702c
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