diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,7 @@ type Config struct { } type watConfig struct { + Database string `default:"wat.db" yaml:"database"` Nick string `yaml:"nick"` Pass string `yaml:"pass"` User string `yaml:"user"` @@ -99,6 +100,7 @@ func main() { Name: config.Name, } watConfig := wat.WatConfig{ + DatabasePath: config.Database, AutoJoinChannels: config.Channels.Join, PermittedChannels: config.Channels.Permitted, IgnoredHosts: config.Ignores.Hosts, |