diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index 28961137..5f5213ec 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -4506,7 +4506,7 @@ static cell AMX_NATIVE_CALL AutoExecConfig(AMX *amx, cell *params) } static char newName[PLATFORM_MAX_PATH]; - UTIL_Format(newName, sizeof(newName), "plugin.%s", pluginName); + UTIL_Format(newName, sizeof(newName), "plugin-%s", pluginName); name = newName; } diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index c1e94aa0..4cf896af 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -3217,9 +3217,10 @@ forward OnAutoConfigsBuffered(); /** * 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. + * @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 * file will be automatically created and populated with