mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
kill debug prints
This commit is contained in:
parent
6f612f881e
commit
c6891425d5
1 changed files with 0 additions and 3 deletions
|
@ -64,7 +64,6 @@ func authorizationJanitor_do() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (client *ClientInfo) StartAuthorization(callback AuthCallback) {
|
func (client *ClientInfo) StartAuthorization(callback AuthCallback) {
|
||||||
fmt.Println(DEBUG, "starting auth for user", client.TwitchUsername, client.RemoteAddr)
|
|
||||||
var nonce [32]byte
|
var nonce [32]byte
|
||||||
_, err := rand.Read(nonce[:])
|
_, err := rand.Read(nonce[:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -79,10 +78,8 @@ func (client *ClientInfo) StartAuthorization(callback AuthCallback) {
|
||||||
enc.Close()
|
enc.Close()
|
||||||
challenge := buf.String()
|
challenge := buf.String()
|
||||||
|
|
||||||
fmt.Println(DEBUG, "adding to auth array")
|
|
||||||
AddPendingAuthorization(client, challenge, callback)
|
AddPendingAuthorization(client, challenge, callback)
|
||||||
|
|
||||||
fmt.Println(DEBUG, "sending auth message")
|
|
||||||
client.MessageChannel <- ClientMessage{MessageID: -1, Command: AuthorizeCommand, Arguments: challenge}
|
client.MessageChannel <- ClientMessage{MessageID: -1, Command: AuthorizeCommand, Arguments: challenge}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue