From 9d9cb32f4efa78fcdbb49a84d221b5e731c336c2 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 29 May 2017 21:54:34 +0200 Subject: Limit message length (irc). Closes #179 --- bridge/config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge/config') 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 -- cgit v1.2.3