removed allow_nongpl, it wasn't really viable

This commit is contained in:
David Anderson 2007-03-04 04:37:42 +00:00
parent 88dd3b021e
commit bb54b37399
2 changed files with 5 additions and 10 deletions

View File

@ -240,16 +240,11 @@ void CPluginMngr::CPlugin::AddToFailCounter(unsigned int i)
{
failcounter += i;
if ((failcounter >= 3)
&& (status == ps_paused
|| status == ps_running))
&& (status ))
{
int allow_nongpl = atoi(get_localinfo("allow_nongpl", "0"));
if (!allow_nongpl)
{
errorMsg.assign("This plugin is non-GPL, violating AMX Mod X's license. Edit core.ini to allow this.");
errorMsg.assign("This plugin is non-GPL which violates AMX Mod X's license.");
status = ps_bad_load;
}
}
}
const char* CPluginMngr::CPlugin::getStatus() const

View File

@ -27,8 +27,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,7,6,3377
PRODUCTVERSION 1,7,6,3377
FILEVERSION 1,7,6,3380
PRODUCTVERSION 1,7,6,3380
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L