From e622587db43d36d22640d9f90a92d984d6231dd3 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 20 Feb 2018 18:57:46 +0100 Subject: Add label support in RemoteNickFormat --- gateway/gateway.go | 1 + 1 file changed, 1 insertion(+) (limited to 'gateway') diff --git a/gateway/gateway.go b/gateway/gateway.go index 6fe7f0ea..c70fbb00 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -323,6 +323,7 @@ func (gw *Gateway) modifyUsername(msg config.Message, dest *bridge.Bridge) strin } nick = strings.Replace(nick, "{BRIDGE}", br.Name, -1) nick = strings.Replace(nick, "{PROTOCOL}", br.Protocol, -1) + nick = strings.Replace(nick, "{LABEL}", br.Config.Label, -1) nick = strings.Replace(nick, "{NICK}", msg.Username, -1) return nick } -- cgit v1.2.3