1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

include some of the changes meant for previous build

This commit is contained in:
RaidMax
2020-04-22 20:51:04 -05:00
parent 0e6a7f89b2
commit b7f1697c79
3 changed files with 17 additions and 12 deletions

View File

@ -880,13 +880,15 @@ namespace IW4MAdmin
// this one is ok
catch (ServerException e)
{
if (e is NetworkException && !Throttled)
if (e is NetworkException && !Throttled && notifyDisconnects)
{
Logger.WriteError(loc["SERVER_ERROR_COMMUNICATION"].FormatExt($"{IP}:{Port}"));
Logger.WriteDebug(e.GetExceptionInfo());
}
Logger.WriteError(e.Message);
else
{
Logger.WriteError(e.Message);
}
return false;
}