Merge pull request #289 from alliedmodders/fix/typo-autoexeconfig
Fix typo in AutoExecConfig native
This commit is contained in:
commit
5b3a5a0153
|
@ -4506,7 +4506,7 @@ static cell AMX_NATIVE_CALL AutoExecConfig(AMX *amx, cell *params)
|
||||||
}
|
}
|
||||||
|
|
||||||
static char newName[PLATFORM_MAX_PATH];
|
static char newName[PLATFORM_MAX_PATH];
|
||||||
UTIL_Format(newName, sizeof(newName), "plugin.%s", pluginName);
|
UTIL_Format(newName, sizeof(newName), "plugin-%s", pluginName);
|
||||||
|
|
||||||
name = newName;
|
name = newName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3217,9 +3217,10 @@ forward OnAutoConfigsBuffered();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies that the given config file should be executed after plugin load.
|
* Specifies that the given config file should be executed after plugin load.
|
||||||
*
|
*
|
||||||
* @note OnConfigsExecuted() will not be called until the config file has executed,
|
* @note OnConfigsExecuted() will not be called until the config file has executed,
|
||||||
* but it will be called if the execution fails.
|
* but it will be called if the execution fails.
|
||||||
|
* @note The name parameter should not contain dots, otherwise file will not be executed.
|
||||||
*
|
*
|
||||||
* @param autoCreate If true, and the config file does not exist, such a config
|
* @param autoCreate If true, and the config file does not exist, such a config
|
||||||
* file will be automatically created and populated with
|
* file will be automatically created and populated with
|
||||||
|
|
Loading…
Reference in New Issue
Block a user