Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit d7f1fd16f368d3fc4bee8a1eb1930cfe12535c8d Author: Wim <wim@42.be> Date: Mon Jul 11 21:26:13 2016 +0000 Remove UseSlackCircumfix. Use RemoteNickFormat diff --git a/bridge/bridge.go b/bridge/bridge.go index c2f48a3..25e0969 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -3568 +3566 @@ func (b *Bridge) handleMatter() {   username = message.Username + ": "   if b.Config.IRC.RemoteNickFormat != "" {   username = strings.Replace(b.Config.IRC.RemoteNickFormat, "{NICK}", message.Username, -1) - } else if b.Config.IRC.UseSlackCircumfix { - username = "<" + message.Username + "> "   }   cmds := strings.Fields(message.Text)   // empty message diff --git a/bridge/config.go b/bridge/config.go index f31db98..99f2c7d 100644 --- a/bridge/config.go +++ b/bridge/config.go @@ -818 +817 @@ import (    type Config struct {   IRC struct { - UseTLS bool - SkipTLSVerify bool - Server string - Port int - Nick string - Password string - Channel string - UseSlackCircumfix bool - NickServNick string - NickServPassword string - RemoteNickFormat string - IgnoreNicks string + UseTLS bool + SkipTLSVerify bool + Server string + Port int + Nick string + Password string + Channel string + NickServNick string + NickServPassword string + RemoteNickFormat string + IgnoreNicks string   }   Mattermost struct {   URL string