settings: Use pointer

This commit is contained in:
nemunaire 2022-05-01 21:32:19 +02:00
commit 15afbb8b87
5 changed files with 13 additions and 13 deletions

View file

@ -27,7 +27,7 @@ func touchStartedFile() {
}
}
func reloadSettings(config settings.FICSettings) {
func reloadSettings(config *settings.FICSettings) {
// Copy the new settings file for distribution
if data, err := ioutil.ReadFile(path.Join(settings.SettingsDir, settings.SettingsFile)); err != nil {
log.Println("Unable to read settings file:", err)