From 7e5aa6527b8c059e05e910efd17ca32739eae229 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 27 Feb 2018 21:27:51 +0100 Subject: [PATCH] Update vendor 42wim/mm-go-irckit --- vendor/github.com/42wim/mm-go-irckit/mmuser.go | 7 +++++-- vendor/manifest | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/42wim/mm-go-irckit/mmuser.go b/vendor/github.com/42wim/mm-go-irckit/mmuser.go index d61d279d..4735fc3a 100644 --- a/vendor/github.com/42wim/mm-go-irckit/mmuser.go +++ b/vendor/github.com/42wim/mm-go-irckit/mmuser.go @@ -321,15 +321,18 @@ func (u *User) handleWsActionPost(rmsg *model.WebSocketEvent) { ch = u.Srv.Channel(data.ChannelId) // join if not in channel if !ch.HasUser(ghost) { - ch = u.Srv.Channel("&messages") - // ch.Join(ghost) + logger.Debugf("User %s is not in channel %s. Joining now", ghost.Nick, ch.String()) + //ch = u.Srv.Channel("&messages") + ch.Join(ghost) } // excluded channel if stringInSlice(ch.String(), u.Cfg.JoinExclude) { + logger.Debugf("channel %s is in JoinExclude, send to &messages", ch.String()) ch = u.Srv.Channel("&messages") } // not in included channel if len(u.Cfg.JoinInclude) > 0 && !stringInSlice(ch.String(), u.Cfg.JoinInclude) { + logger.Debugf("channel %s is not in JoinInclude, send to &messages", ch.String()) ch = u.Srv.Channel("&messages") } } diff --git a/vendor/manifest b/vendor/manifest index ff39529a..1a38f210 100644 --- a/vendor/manifest +++ b/vendor/manifest @@ -14,7 +14,7 @@ "importpath": "github.com/42wim/mm-go-irckit", "repository": "https://github.com/42wim/mm-go-irckit", "vcs": "git", - "revision": "b97511420eddafa2ebbbbac8f46e4a9366b18308", + "revision": "8c316564bc574ee5a93756b96f4e0730d26ed79a", "branch": "master", "notests": true },