瀏覽代碼

fix disconnect reason string

master
Tim Cooper 10 年之前
父節點
當前提交
686fb79e8f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      client.go

+ 1
- 1
client.go 查看文件

@@ -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…
取消
儲存