| 1095 | } |
| 1096 | |
| 1097 | bool CheckServerName() |
| 1098 | { |
| 1099 | std::string str{this->name_editbox.text.GetText()}; |
| 1100 | if (!NetworkValidateServerName(str)) return false; |
| 1101 | |
| 1102 | SetSettingValue(GetSettingFromName("network.server_name")->AsStringSetting(), std::move(str)); |
| 1103 | return true; |
| 1104 | } |
| 1105 | |
| 1106 | void OnTimeout() override |
| 1107 | { |
nothing calls this directly
no test coverage detected