sql.cfg is always executed

This commit is contained in:
Felix Geyer 2004-09-01 11:47:20 +00:00
parent 35fdb8aa6e
commit 385fa07884

View File

@ -95,8 +95,9 @@ public plugin_init() {
new configsDir[64]
get_configsdir(configsDir, 63)
server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration file
server_cmd("exec %s/sql.cfg", configsDir)
#if defined USING_SQL
server_cmd("exec %s/sql.cfg;amx_sqladmins", configsDir)
server_cmd("amx_sqladmins")
#else
format(configsDir, 63, "%s/users.ini", configsDir)
loadSettings(configsDir) // Load admins accounts