summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index fb71444..1d13154 100644
--- a/main.go
+++ b/main.go
@@ -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,