1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 00:18:31 +00:00

kill debug prints

This commit is contained in:
Kane York 2015-12-16 14:24:10 -08:00
parent 6f612f881e
commit c6891425d5

View file

@ -64,7 +64,6 @@ func authorizationJanitor_do() {
}
func (client *ClientInfo) StartAuthorization(callback AuthCallback) {
fmt.Println(DEBUG, "starting auth for user", client.TwitchUsername, client.RemoteAddr)
var nonce [32]byte
_, err := rand.Read(nonce[:])
if err != nil {
@ -79,10 +78,8 @@ func (client *ClientInfo) StartAuthorization(callback AuthCallback) {
enc.Close()
challenge := buf.String()
fmt.Println(DEBUG, "adding to auth array")
AddPendingAuthorization(client, challenge, callback)
fmt.Println(DEBUG, "sending auth message")
client.MessageChannel <- ClientMessage{MessageID: -1, Command: AuthorizeCommand, Arguments: challenge}
}