summaryrefslogtreecommitdiffstats
path: root/bridge/mumble
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/mumble')
-rw-r--r--bridge/mumble/mumble.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/mumble/mumble.go b/bridge/mumble/mumble.go
index 2281d1c2..d678e0fb 100644
--- a/bridge/mumble/mumble.go
+++ b/bridge/mumble/mumble.go
@@ -248,9 +248,9 @@ func (b *Bmumble) processMessage(msg *config.Message) {
// If there is a maximum message length, split and truncate the lines
var msgLines []string
if maxLength := b.serverConfig.MaximumMessageLength; maxLength != nil {
- msgLines = helper.GetSubLines(msg.Text, *maxLength-len(msg.Username))
+ msgLines = helper.GetSubLines(msg.Text, *maxLength-len(msg.Username), b.GetString("MessageClipped"))
} else {
- msgLines = helper.GetSubLines(msg.Text, 0)
+ msgLines = helper.GetSubLines(msg.Text, 0, b.GetString("MessageClipped"))
}
// Send the individual lindes
for i := range msgLines {