diff options
author | Fredrik de Vibe <fdv@ifi.uio.no> | 2016-03-18 15:54:14 -0400 |
---|---|---|
committer | Fredrik de Vibe <fdv@ifi.uio.no> | 2016-03-18 15:54:14 -0400 |
commit | a63433e41bad06a9ef8132082b8ef40d91d07aec (patch) | |
tree | 0a04c24e7d8ddb8d1beb67d0c3d28c15f9e30505 /config.go | |
parent | e0379ca5af0658f59dbee78b730ebd87c279886d (diff) | |
download | matterbridge-msglm-a63433e41bad06a9ef8132082b8ef40d91d07aec.tar.gz matterbridge-msglm-a63433e41bad06a9ef8132082b8ef40d91d07aec.tar.bz2 matterbridge-msglm-a63433e41bad06a9ef8132082b8ef40d91d07aec.zip |
Move new config parameters from IRC to Mattermost.
PrefixMessagesWithNick, NickFormatter and NicksPerRow.
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -8,28 +8,28 @@ import ( type Config struct { IRC struct { - UseTLS bool - SkipTLSVerify bool - Server string + UseTLS bool + SkipTLSVerify bool + Server string + Port int + Nick string + Password string + Channel string + UseSlackCircumfix bool + } + Mattermost struct { + URL string Port int - Nick string - Password string + ShowJoinPart bool + Token string + IconURL string + SkipTLSVerify bool + BindAddress string Channel string - UseSlackCircumfix bool PrefixMessagesWithNick bool NicksPerRow int NickFormatter string } - Mattermost struct { - URL string - Port int - ShowJoinPart bool - Token string - IconURL string - SkipTLSVerify bool - BindAddress string - Channel string - } Token map[string]*struct { IRCChannel string MMChannel string |