Changes to jobs, made a change to the base server to store the callsign in a config location and set it upon startup.
This commit is contained in:
@@ -73,6 +73,7 @@ class Server:
|
||||
if 'config' not in conn.root():
|
||||
logging.debug("no config, writing blank default config")
|
||||
conn.root.config = PersistentMapping(deepcopy(default_server_config))
|
||||
conn.root.server_callsign = self.callsign
|
||||
conn.root.config['blacklist'] = PersistentList()
|
||||
if 'SYSTEM' not in conn.root.config['blacklist']:
|
||||
logging.debug("Adding 'SYSTEM' to blacklist in case someone feels like violating FCC rules.")
|
||||
|
||||
Reference in New Issue
Block a user