summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-05-29 21:54:34 +0200
committerWim <wim@42.be>2017-05-29 21:54:34 +0200
commit9d9cb32f4efa78fcdbb49a84d221b5e731c336c2 (patch)
tree8b317d3921d70e75169511f8c853ac65458b3c0a /bridge/config/config.go
parent87229bab13d89d87284993f27a4c5c2afa762aa2 (diff)
downloadmatterbridge-msglm-9d9cb32f4efa78fcdbb49a84d221b5e731c336c2.tar.gz
matterbridge-msglm-9d9cb32f4efa78fcdbb49a84d221b5e731c336c2.tar.bz2
matterbridge-msglm-9d9cb32f4efa78fcdbb49a84d221b5e731c336c2.zip
Limit message length (irc). Closes #179
Diffstat (limited to 'bridge/config/config.go')
-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 2cd53666..243f6601 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -59,6 +59,7 @@ type Protocol struct {
Protocol string //all protocols
MessageQueue int // IRC, size of message queue for flood control
MessageDelay int // IRC, time in millisecond to wait between messages
+ MessageLength int // IRC, max length of a message allowed
MessageFormat string // telegram
RemoteNickFormat string // all protocols
Server string // IRC,mattermost,XMPP,discord