aboutsummaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth.go')
-rw-r--r--auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.go b/auth.go
index a58aba3..93af0ee 100644
--- a/auth.go
+++ b/auth.go
@@ -82,7 +82,7 @@ func (auth *Auth) connect() {
func (auth *Auth) fail(err string) {
auth.err = err
auth.state = asError
- auth.client.disconnect()
+ auth.client.closeConn()
}
func (auth *Auth) checkState(state authState, pkt *mt.Pkt) bool {