summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-11-01 22:52:28 +0100
committerWim <wim@42.be>2016-11-01 22:52:28 +0100
commitbe513622ac04bee46be89d1817e23b04f37f5acd (patch)
treebaf4c5e0586edc4c06a1e3de8286b69c803ff406 /bridge/config
parent6f309f2108bfa8b34a4d36917f26f961b1285805 (diff)
downloadmatterbridge-msglm-be513622ac04bee46be89d1817e23b04f37f5acd.tar.gz
matterbridge-msglm-be513622ac04bee46be89d1817e23b04f37f5acd.tar.bz2
matterbridge-msglm-be513622ac04bee46be89d1817e23b04f37f5acd.zip
Add anti-flooding settings (irc). See #40
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index aa881a79..89222894 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -34,6 +34,8 @@ type Protocol struct {
Password string // IRC,mattermost,XMPP
PrefixMessagesWithNick bool // mattemost, slack
Protocol string //all protocols
+ MessageQueue int // IRC, size of message queue for flood control
+ MessageDelay int // IRC, time in millisecond to wait between messages
RemoteNickFormat string // all protocols
Server string // IRC,mattermost,XMPP,discord
ShowJoinPart bool // all protocols