summaryrefslogtreecommitdiff
path: root/irc/states.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtzfr.eu>2020-08-05 13:13:47 +0200
committerHubert Hirtz <hubert@hirtzfr.eu>2020-08-05 13:13:47 +0200
commit48baa060c59728248c3dce206197e21f89579435 (patch)
tree40bb7bc71ea5260005ce48f71b91ea35ecb33128 /irc/states.go
parentConfigurable highlights (diff)
Tidying
Diffstat (limited to 'irc/states.go')
-rw-r--r--irc/states.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc/states.go b/irc/states.go
index 5585990..9e5ed56 100644
--- a/irc/states.go
+++ b/irc/states.go
@@ -29,7 +29,7 @@ func (auth *SASLPlain) Handshake() (mech string) {
func (auth *SASLPlain) Respond(challenge string) (res string, err error) {
if challenge != "+" {
- err = errors.New("Unexpected challenge")
+ err = errors.New("unexpected challenge")
return
}
@@ -213,7 +213,7 @@ func (s *Session) Running() bool {
func (s *Session) Stop() {
s.running.Store(false)
- s.conn.Close()
+ _ = s.conn.Close()
}
func (s *Session) Poll() (events <-chan Event) {