sql.cfg is always executed
This commit is contained in:
parent
35fdb8aa6e
commit
385fa07884
@ -95,8 +95,9 @@ public plugin_init() {
|
|||||||
new configsDir[64]
|
new configsDir[64]
|
||||||
get_configsdir(configsDir, 63)
|
get_configsdir(configsDir, 63)
|
||||||
server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration file
|
server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration file
|
||||||
|
server_cmd("exec %s/sql.cfg", configsDir)
|
||||||
#if defined USING_SQL
|
#if defined USING_SQL
|
||||||
server_cmd("exec %s/sql.cfg;amx_sqladmins", configsDir)
|
server_cmd("amx_sqladmins")
|
||||||
#else
|
#else
|
||||||
format(configsDir, 63, "%s/users.ini", configsDir)
|
format(configsDir, 63, "%s/users.ini", configsDir)
|
||||||
loadSettings(configsDir) // Load admins accounts
|
loadSettings(configsDir) // Load admins accounts
|
||||||
|
Loading…
Reference in New Issue
Block a user