summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-10-27 00:07:33 +0200
committerWim <wim@42.be>2017-10-27 00:07:33 +0200
commit41aa8ad7994075a72aebb2ce14d62a00bef022d7 (patch)
tree9984aab0ae3b9661586f1ffbd28d78dee7b405ac /bridge/config
parent7973baedd0ced9b57492e0b532b34dfff1329da1 (diff)
downloadmatterbridge-msglm-41aa8ad7994075a72aebb2ce14d62a00bef022d7.tar.gz
matterbridge-msglm-41aa8ad7994075a72aebb2ce14d62a00bef022d7.tar.bz2
matterbridge-msglm-41aa8ad7994075a72aebb2ce14d62a00bef022d7.zip
Add StripNick option, only allow alphanumerical nicks. Closes #285
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index c6686a42..0dfba94b 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -80,6 +80,7 @@ type Protocol struct {
ShowJoinPart bool // all protocols
ShowEmbeds bool // discord
SkipTLSVerify bool // IRC, mattermost
+ StripNick bool // all protocols
Team string // mattermost
Token string // gitter, slack, discord, api
URL string // mattermost, slack // DEPRECATED