mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 01:57:01 +00:00
Revert "Adds a separate config option for enabling comms/API"
This reverts commit 19d46a7084.
This commit is contained in:
@@ -268,11 +268,10 @@
|
||||
Tickcomp = 1
|
||||
if("automute_on")
|
||||
automute_on = 1
|
||||
if("comms_enabled") //Whether comms are enabled at all
|
||||
if("comms_key") //The actual password
|
||||
comms_key = value
|
||||
if(value != "default_pwd" && length(value) > 6) //It's the default value or less than 6 characters long, warn badmins
|
||||
comms_allowed = 1
|
||||
if("comms_key")
|
||||
comms_key = value
|
||||
if(value != "default_pwd" && length(value) > 6) //It's the default value or less than 6 characters long, warn badmins
|
||||
comms_allowed = 1
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user