mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-29 23:16:21 +01:00
Don't nag me, game.
This commit is contained in:
@@ -558,6 +558,7 @@ var/failed_db_connections = 0
|
||||
var/failed_old_db_connections = 0
|
||||
|
||||
/hook/startup/proc/connectDB()
|
||||
if(!config.sql_enabled) return 1
|
||||
if(!setup_database_connection())
|
||||
world.log << "Your server failed to establish a connection with the feedback database."
|
||||
else
|
||||
@@ -600,6 +601,7 @@ proc/establish_db_connection()
|
||||
|
||||
|
||||
/hook/startup/proc/connectOldDB()
|
||||
if(!config.sql_enabled) return 1
|
||||
if(!setup_old_database_connection())
|
||||
world.log << "Your server failed to establish a connection with the SQL database."
|
||||
else
|
||||
|
||||
@@ -68,7 +68,7 @@ LOG_PDA
|
||||
##LOG_ADMINWARN ## Also duplicates a bunch of other messages.
|
||||
|
||||
## sql switching
|
||||
# SQL_ENABLED
|
||||
SQL_ENABLED 1
|
||||
|
||||
## disconnect players who did nothing during the set amount of minutes
|
||||
# KICK_INACTIVE 10
|
||||
|
||||
Reference in New Issue
Block a user