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 2ae52d0..c242571 100644
--- a/main.go
+++ b/main.go
@@ -28,6 +28,7 @@ type watConfig struct {
Hosts []string `yaml:"hosts"`
} `yaml:"admins"`
Channels struct {
+ Join []string `yaml:"join"`
Permitted []string `yaml:"permitted"`
} `yaml:"channels"`
Ignores struct {
@@ -94,6 +95,7 @@ func main() {
Name: config.Name,
}
watConfig := wat.WatConfig{
+ AutoJoinChannels: config.Channels.Join,
PermittedChannels: config.Channels.Permitted,
IgnoredHosts: config.Ignores.Hosts,
AdminHosts: config.Admins.Hosts,