diff options
Diffstat (limited to 'gateway/gateway.go')
-rw-r--r-- | gateway/gateway.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go index 663c3871..06eec560 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -243,9 +243,9 @@ func (gw *Gateway) ignoreMessage(msg *config.Message) bool { func (gw *Gateway) modifyUsername(msg config.Message, dest *bridge.Bridge) string { br := gw.Bridges[msg.Account] msg.Protocol = br.Protocol - nick := gw.Config.General.RemoteNickFormat + nick := dest.Config.RemoteNickFormat if nick == "" { - nick = dest.Config.RemoteNickFormat + nick = gw.Config.General.RemoteNickFormat } if len(msg.Username) > 0 { // fix utf-8 issue #193 |