not annoy with unknown commands

master
zmv7 2022-05-04 02:15:27 +05:00 committed by GitHub
parent cc2e0438ca
commit 5d0f99e562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ package commands
import (
"encoding/binary"
"fmt"
//"fmt"
)
func Parse(payload []byte) (Command, error) {
@ -47,7 +47,7 @@ func Parse(payload []byte) (Command, error) {
case ServerCommandAccessDenied:
cmd = &ServerAccessDenied{}
default:
fmt.Printf("Unknown command received: %d\n", commandId)
//fmt.Printf("Unknown command received: %d\n", commandId)
}
if cmd != nil {