mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
removed allow_nongpl, it wasn't really viable
This commit is contained in:
parent
88dd3b021e
commit
bb54b37399
@ -240,15 +240,10 @@ void CPluginMngr::CPlugin::AddToFailCounter(unsigned int i)
|
|||||||
{
|
{
|
||||||
failcounter += i;
|
failcounter += i;
|
||||||
if ((failcounter >= 3)
|
if ((failcounter >= 3)
|
||||||
&& (status == ps_paused
|
&& (status ))
|
||||||
|| status == ps_running))
|
|
||||||
{
|
{
|
||||||
int allow_nongpl = atoi(get_localinfo("allow_nongpl", "0"));
|
errorMsg.assign("This plugin is non-GPL which violates AMX Mod X's license.");
|
||||||
if (!allow_nongpl)
|
status = ps_bad_load;
|
||||||
{
|
|
||||||
errorMsg.assign("This plugin is non-GPL, violating AMX Mod X's license. Edit core.ini to allow this.");
|
|
||||||
status = ps_bad_load;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,7,6,3377
|
FILEVERSION 1,7,6,3380
|
||||||
PRODUCTVERSION 1,7,6,3377
|
PRODUCTVERSION 1,7,6,3380
|
||||||
FILEFLAGSMASK 0x17L
|
FILEFLAGSMASK 0x17L
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
Loading…
Reference in New Issue
Block a user