X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/f4a69647659df356f7f1d1ab1d8b4eedcc34dfba..0da28a1fe47ffc60e40aeca9dddd7ab37e52a999:/hotline/client.go diff --git a/hotline/client.go b/hotline/client.go index 1e2972f..e5b396b 100644 --- a/hotline/client.go +++ b/hotline/client.go @@ -119,7 +119,7 @@ func (db *DebugBuffer) Write(p []byte) (int, error) { return db.TextView.Write(p) } -// Sync is a noop function that exists to satisfy the zapcore.WriteSyncer interface +// Sync is a noop function that dataFile to satisfy the zapcore.WriteSyncer interface func (db *DebugBuffer) Sync() error { return nil } @@ -633,7 +633,6 @@ func (c *Client) LogIn(login string, password string) error { NewField(fieldUserIconID, c.pref.IconBytes()), NewField(fieldUserLogin, negateString([]byte(login))), NewField(fieldUserPassword, negateString([]byte(password))), - NewField(fieldVersion, []byte{0, 2}), ), ) } @@ -675,10 +674,7 @@ func (c *Client) HandleTransaction(t *Transaction) error { } requestNum := binary.BigEndian.Uint16(t.Type) - c.Logger.Infow( - "Received Transaction", - "RequestType", requestNum, - ) + c.Logger.Debugw("Received Transaction", "RequestType", requestNum) if handler, ok := c.Handlers[requestNum]; ok { outT, _ := handler.Handle(c, t)