4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-27 06:29:24 +00:00

Add Enable per section (protocol) instead of in general section

This commit is contained in:
Wim
2016-08-15 23:15:22 +02:00
parent 131826e1d1
commit 9cb3413d9c
3 changed files with 21 additions and 27 deletions

View File

@ -26,6 +26,7 @@ type Config struct {
NickServPassword string
RemoteNickFormat string
IgnoreNicks string
Enable bool
}
Mattermost struct {
URL string
@ -44,6 +45,7 @@ type Config struct {
RemoteNickFormat string
IgnoreNicks string
NoTLS bool
Enable bool
}
Xmpp struct {
Jid string
@ -52,6 +54,7 @@ type Config struct {
Muc string
Nick string
RemoteNickFormat string
Enable bool
}
Channel map[string]*struct {
IRC string