Thumbnail

rani/matterbridge.git

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

commit a9574950ac495109434509814cca8125e6f34e92 Author: Wim <wim@42.be> Date: Sat Apr 06 22:34:41 2019 +0000 Return when not connected and drop a message (irc). Fixes #786 diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 5184254..ddc90b5 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -1376 +1377 @@ func (b *Birc) Send(msg config.Message) (string, error) {   // we can be in between reconnects #385   if !b.i.IsConnected() {   b.Log.Error("Not connected to server, dropping message") + return "", nil   }     // Execute a command