diff options
author | Wim <wim@42.be> | 2016-08-14 21:48:51 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-08-14 22:44:59 +0200 |
commit | ff9479670070c0f1de4cf66622df7b69736dd22a (patch) | |
tree | c3003f19d8821900398b5b2803188555725030b6 /vendor/github.com | |
parent | 1f72ca4c4ecb5ab3ef831b8e70c74909f5720fb8 (diff) | |
download | matterbridge-msglm-ff9479670070c0f1de4cf66622df7b69736dd22a.tar.gz matterbridge-msglm-ff9479670070c0f1de4cf66622df7b69736dd22a.tar.bz2 matterbridge-msglm-ff9479670070c0f1de4cf66622df7b69736dd22a.zip |
Refactor bridge. Allows bridging between every protocol
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/thoj/go-ircevent/irc.go | 1 | ||||
-rw-r--r-- | vendor/github.com/thoj/go-ircevent/irc_callback.go | 4 | ||||
-rw-r--r-- | vendor/github.com/thoj/go-ircevent/irc_sasl.go (renamed from vendor/github.com/thoj/go-ircevent/sasl.go) | 0 |
3 files changed, 2 insertions, 3 deletions
diff --git a/vendor/github.com/thoj/go-ircevent/irc.go b/vendor/github.com/thoj/go-ircevent/irc.go index 0ba1d650..3981761a 100644 --- a/vendor/github.com/thoj/go-ircevent/irc.go +++ b/vendor/github.com/thoj/go-ircevent/irc.go @@ -152,7 +152,6 @@ func (irc *Connection) writeLoop() { } } } - return } // Pings the server if we have not received any messages for 5 minutes diff --git a/vendor/github.com/thoj/go-ircevent/irc_callback.go b/vendor/github.com/thoj/go-ircevent/irc_callback.go index 109cbb1f..b5622367 100644 --- a/vendor/github.com/thoj/go-ircevent/irc_callback.go +++ b/vendor/github.com/thoj/go-ircevent/irc_callback.go @@ -33,7 +33,7 @@ func (irc *Connection) RemoveCallback(eventcode string, i int) bool { delete(irc.events[eventcode], i) return true } - irc.Log.Printf("Event found, but no callback found at id %s\n", i) + irc.Log.Printf("Event found, but no callback found at id %d\n", i) return false } @@ -64,7 +64,7 @@ func (irc *Connection) ReplaceCallback(eventcode string, i int, callback func(*E event[i] = callback return } - irc.Log.Printf("Event found, but no callback found at id %s\n", i) + irc.Log.Printf("Event found, but no callback found at id %d\n", i) } irc.Log.Printf("Event not found. Use AddCallBack\n") } diff --git a/vendor/github.com/thoj/go-ircevent/sasl.go b/vendor/github.com/thoj/go-ircevent/irc_sasl.go index e5ff9e38..e5ff9e38 100644 --- a/vendor/github.com/thoj/go-ircevent/sasl.go +++ b/vendor/github.com/thoj/go-ircevent/irc_sasl.go |