More reasonable netfiltering hopefully

This commit is contained in:
def 2013-08-10 04:10:39 +02:00
parent c259c2752c
commit 4f79d90212
2 changed files with 2 additions and 3 deletions

View file

@ -223,7 +223,7 @@ MACRO_CONFIG_INT(SvGlobalBantime, sv_global_ban_time, 60, 0, 1440, CFGFLAG_SERVE
MACRO_CONFIG_INT(SvEvents, sv_events, 1, 0, 1, CFGFLAG_SERVER, "Enable triggering of server events, like the happy eyeemotes on some holidays.") MACRO_CONFIG_INT(SvEvents, sv_events, 1, 0, 1, CFGFLAG_SERVER, "Enable triggering of server events, like the happy eyeemotes on some holidays.")
// netlimit // netlimit
MACRO_CONFIG_INT(SvNetlimit, sv_netlimit, 100, 0, 10000, CFGFLAG_SERVER, "Netlimit: Maximum amount of traffic a client is allowed to use (in kb/s)") MACRO_CONFIG_INT(SvNetlimit, sv_netlimit, 200, 0, 10000, CFGFLAG_SERVER, "Netlimit: Maximum amount of traffic a client is allowed to use (in kb/s)")
MACRO_CONFIG_INT(SvNetlimitAlpha, sv_netlimit_alpha, 50, 1, 100, CFGFLAG_SERVER, "Netlimit: Alpha of Exponention moving average") MACRO_CONFIG_INT(SvNetlimitAlpha, sv_netlimit_alpha, 50, 1, 100, CFGFLAG_SERVER, "Netlimit: Alpha of Exponention moving average")
#endif #endif

View file

@ -240,8 +240,7 @@ int CNetServer::Send(CNetChunk *pChunk)
} }
else else
{ {
// Don't drop clients. Drop(pChunk->m_ClientID, "Error sending data");
//Drop(pChunk->m_ClientID, "Error sending data");
} }
} }
return 0; return 0;