This commit is contained in:
Bruce Marriner 2017-11-11 15:18:37 +00:00
parent d45cbf73f0
commit 9e1220d82b

View file

@ -107,7 +107,7 @@ func (s *Session) Open() error {
return err return err
} }
if e.Operation != 10 { if e.Operation != 10 {
err = fmt.Errorf("Expecting Op 10, got Op %d instead.", e.Operation) err = fmt.Errorf("expecting Op 10, got Op %d instead", e.Operation)
return err return err
} }
s.log(LogInformational, "Op 10 Hello Packet received from Discord") s.log(LogInformational, "Op 10 Hello Packet received from Discord")