From 385fa078840f0e3159c4b62e17ce51b9010f17de Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Wed, 1 Sep 2004 11:47:20 +0000 Subject: [PATCH] sql.cfg is always executed --- plugins/admin.sma | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin.sma b/plugins/admin.sma index bd712b57..71dd0679 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -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