| 95 | } |
| 96 | |
| 97 | void CLocalServer::RconAuthIfPossible() |
| 98 | { |
| 99 | if(!IsServerRunning() || |
| 100 | m_aRconPassword[0] == '\0' || |
| 101 | !net_addr_is_local(&Client()->ServerAddress())) |
| 102 | { |
| 103 | return; |
| 104 | } |
| 105 | Client()->RconAuth(DEFAULT_SAVED_RCON_USER, m_aRconPassword, g_Config.m_ClDummy); |
| 106 | } |
no test coverage detected