summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorFredrik de Vibe <fdv@ifi.uio.no>2016-03-18 06:09:29 -0400
committerFredrik de Vibe <fdv@ifi.uio.no>2016-03-18 06:09:29 -0400
commit5ec94fdb4356df1be68a107f0ac142d44530b334 (patch)
treebf9a754911ca0c3a0199448e3ebc737b535f6e7d /config.go
parenta64deb1238ac9684a8eb2e3f051e41e07b955394 (diff)
downloadmatterbridge-msglm-5ec94fdb4356df1be68a107f0ac142d44530b334.tar.gz
matterbridge-msglm-5ec94fdb4356df1be68a107f0ac142d44530b334.tar.bz2
matterbridge-msglm-5ec94fdb4356df1be68a107f0ac142d44530b334.zip
Add config option to prefix messages (IRC->MM) with nick
If username overriding isn't enabled on the Mattermost server, this is required for Mattermost users to see who sent a message from IRC.
Diffstat (limited to 'config.go')
-rw-r--r--config.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/config.go b/config.go
index d1038880..d0bf8044 100644
--- a/config.go
+++ b/config.go
@@ -8,14 +8,15 @@ import (
type Config struct {
IRC struct {
- UseTLS bool
- SkipTLSVerify bool
- Server string
- Port int
- Nick string
- Password string
- Channel string
- UseSlackCircumfix bool
+ UseTLS bool
+ SkipTLSVerify bool
+ Server string
+ Port int
+ Nick string
+ Password string
+ Channel string
+ UseSlackCircumfix bool
+ PrefixMessagesWithNick bool
}
Mattermost struct {
URL string