diff options
Diffstat (limited to 'gateway/gateway.go')
-rw-r--r-- | gateway/gateway.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |