diff options
Diffstat (limited to 'bridge/nctalk/nctalk.go')
-rw-r--r-- | bridge/nctalk/nctalk.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bridge/nctalk/nctalk.go b/bridge/nctalk/nctalk.go index 6af819af..2f12e4e2 100644 --- a/bridge/nctalk/nctalk.go +++ b/bridge/nctalk/nctalk.go @@ -83,6 +83,13 @@ func (b *Btalk) JoinChannel(channel config.ChannelInfo) error { go func() { for msg := range c { msg := msg + + if msg.Error != nil { + b.Log.Errorf("Fatal message poll error: %s\n", msg.Error) + + return + } + // ignore messages that are one of the following // * not a message from a user // * from ourselves |