Home
last modified time | relevance | path

Searched refs:IRC_RateLimiter (Results 1 – 2 of 2) sorted by relevance

/dports/games/alienarena/alienarena-7.66/source/client/
H A Dcl_irc.c293 static unsigned int IRC_RateLimiter[ 3 ]; variable
1043 if ( IRC_RateLimiter[ event_type ] >= IRC_LIMIT_THRESHOLD * IRC_TIMEOUTS_PER_SEC ) in IRC_CheckEventRate()
1045 IRC_RateLimiter[ event_type ] += IRC_LIMIT_INCREASE * IRC_TIMEOUTS_PER_SEC; in IRC_CheckEventRate()
1056 for ( i = 0 ; i < sizeof( IRC_RateLimiter ) / sizeof( unsigned int ) ; i ++ ) in IRC_UpdateRateLimiter()
1057 if ( IRC_RateLimiter[ i ] ) { in IRC_UpdateRateLimiter()
1058 IRC_RateLimiter[ i ] --; in IRC_UpdateRateLimiter()
1069 for ( i = 0 ; i < sizeof( IRC_RateLimiter ) / sizeof( unsigned int ) ; i ++ ) in IRC_InitRateLimiter()
1070 IRC_RateLimiter[ i ] = 0; in IRC_InitRateLimiter()
/dports/games/alienarena-data/alienarena-7.66/source/client/
H A Dcl_irc.c293 static unsigned int IRC_RateLimiter[ 3 ]; variable
1043 if ( IRC_RateLimiter[ event_type ] >= IRC_LIMIT_THRESHOLD * IRC_TIMEOUTS_PER_SEC ) in IRC_CheckEventRate()
1045 IRC_RateLimiter[ event_type ] += IRC_LIMIT_INCREASE * IRC_TIMEOUTS_PER_SEC; in IRC_CheckEventRate()
1056 for ( i = 0 ; i < sizeof( IRC_RateLimiter ) / sizeof( unsigned int ) ; i ++ ) in IRC_UpdateRateLimiter()
1057 if ( IRC_RateLimiter[ i ] ) { in IRC_UpdateRateLimiter()
1058 IRC_RateLimiter[ i ] --; in IRC_UpdateRateLimiter()
1069 for ( i = 0 ; i < sizeof( IRC_RateLimiter ) / sizeof( unsigned int ) ; i ++ ) in IRC_InitRateLimiter()
1070 IRC_RateLimiter[ i ] = 0; in IRC_InitRateLimiter()