Browse Source

fix disconnect reason string

master
Tim Cooper 10 years ago
parent
commit
686fb79e8f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client.go

+ 1
- 1
client.go View File

@@ -44,7 +44,7 @@ func (b *Barnard) OnDisconnect(e *gumble.DisconnectEvent) {
case gumble.DisconnectNoCertificate:
reason = "missing certificate"
case gumble.DisconnectAuthenticatorFail:
reason = "authenticator via failed"
reason = "authenticator verification failed"
}
if reason == "" {
b.AddOutputLine("Disconnected")


Loading…
Cancel
Save