* Convenience method for NetworkValidateClientName on _settings_client.network.client_name. * It trims the client name and checks whether it is empty. When it is empty * an error message is shown to the GUI user. * See \c NetworkValidateClientName(std::string&) for details about the functionality. * @return True iff the client name is valid. */
| 1281 | * @return True iff the client name is valid. |
| 1282 | */ |
| 1283 | bool NetworkValidateOurClientName() |
| 1284 | { |
| 1285 | return NetworkValidateClientName(_settings_client.network.client_name); |
| 1286 | } |
| 1287 | |
| 1288 | /** |
| 1289 | * Send the server our name as callback from the setting. |
no test coverage detected