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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user