excludemap and excludemaptime are now always respected
This commit is contained in:
parent
4d3d774cc0
commit
484430cd50
@ -2570,8 +2570,9 @@ public int Native_CanNominate(Handle plugin, int numParams)
|
||||
|
||||
public int Native_ExcludeMap(Handle plugin, int numParams)
|
||||
{
|
||||
if(!InternalAreRestrictionsActive(false))
|
||||
return true;
|
||||
//this is only called by .cfg files or admins. it should always be put on cooldown when they want to do that.
|
||||
//if(!InternalAreRestrictionsActive(false))
|
||||
// return true;
|
||||
|
||||
int len;
|
||||
GetNativeStringLength(1, len);
|
||||
@ -2609,8 +2610,9 @@ public int Native_ExcludeMap(Handle plugin, int numParams)
|
||||
|
||||
public int Native_ExcludeMapTime(Handle plugin, int numParams)
|
||||
{
|
||||
if(!InternalAreRestrictionsActive(false))
|
||||
return true;
|
||||
//this is only called by .cfg files or admins. it should always be put on cooldown when they want to do that.
|
||||
//if(!InternalAreRestrictionsActive(false))
|
||||
// return true;
|
||||
|
||||
int len;
|
||||
GetNativeStringLength(1, len);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user