diff options
Diffstat (limited to 'vendor/github.com/thoj/go-ircevent/irc_struct.go')
-rw-r--r-- | vendor/github.com/thoj/go-ircevent/irc_struct.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/thoj/go-ircevent/irc_struct.go b/vendor/github.com/thoj/go-ircevent/irc_struct.go index 33db846e..a188d9d9 100644 --- a/vendor/github.com/thoj/go-ircevent/irc_struct.go +++ b/vendor/github.com/thoj/go-ircevent/irc_struct.go @@ -13,6 +13,7 @@ import ( ) type Connection struct { + sync.Mutex sync.WaitGroup Debug bool Error chan error @@ -46,7 +47,7 @@ type Connection struct { Log *log.Logger stopped bool - quit bool + quit bool //User called Quit, do not reconnect. } // A struct to represent an event. |