max 10 users per ip
This commit is contained in:
parent
5fe4f61740
commit
a1ed07c8e3
@ -1866,9 +1866,10 @@ thread OnPlayerDuplicateAccountCheck( playerid )
|
|||||||
rows, fields;
|
rows, fields;
|
||||||
|
|
||||||
cache_get_data( rows, fields );
|
cache_get_data( rows, fields );
|
||||||
if ( rows > 3 )
|
|
||||||
|
if ( rows > 10 )
|
||||||
{
|
{
|
||||||
SendError( playerid, "Sorry, this IP has more than 3 users registered to it which is the maximum limit of users per IP." );
|
SendError( playerid, "Sorry, this IP has more than 10 users registered to it which is the maximum limit of users per IP." );
|
||||||
KickPlayerTimed( playerid );
|
KickPlayerTimed( playerid );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user