diff options
author | Wim <wim@42.be> | 2019-04-06 22:34:41 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2019-04-06 22:34:41 +0200 |
commit | 60a85621eaaf511e67a1c2a9a0853caf3eed5a16 (patch) | |
tree | d80ffa3e4fe02e13dea36b5d0c00860258a6b366 | |
parent | 115d20373c21b107a428a55247c64f900e116038 (diff) | |
download | matterbridge-msglm-60a85621eaaf511e67a1c2a9a0853caf3eed5a16.tar.gz matterbridge-msglm-60a85621eaaf511e67a1c2a9a0853caf3eed5a16.tar.bz2 matterbridge-msglm-60a85621eaaf511e67a1c2a9a0853caf3eed5a16.zip |
Return when not connected and drop a message (irc). Fixes #786
-rw-r--r-- | bridge/irc/irc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 51842544..ddc90b57 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -137,6 +137,7 @@ 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 |