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