diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-07-26 16:41:01 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-07-26 16:41:01 -0700 |
| commit | 5454019cb1d74aca96edec31f1951a94ff70f1d1 (patch) | |
| tree | 54ffe5aaab45b1a874820f27e4e5148b521955d2 /server.go | |
| parent | 69fceb2e93085a005c7e677a3bf6c1ddeba123aa (diff) | |
patch: Fix ACLs and brew install issues
Diffstat (limited to 'server.go')
| -rw-r--r-- | server.go | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -504,13 +504,6 @@ func (s *Server) handleNewConnection(conn net.Conn) error { return fmt.Errorf("incorrect login") } - // Hotline 1.2.3 client does not send fieldVersion - // Nostalgia client sends "" - //if string(*c.Version) == "" { - // *c.UserName = clientLogin.GetField(fieldUserName).Data - // *c.Icon = clientLogin.GetField(fieldUserIconID).Data - //} - // if clientLogin.GetField(fieldUserName).Data != nil { *c.UserName = clientLogin.GetField(fieldUserName).Data } @@ -539,13 +532,6 @@ func (s *Server) handleNewConnection(conn net.Conn) error { // Show agreement to client c.Server.outbox <- *NewTransaction(tranShowAgreement, c.ID, NewField(fieldData, s.Agreement)) - // The Hotline ClientConn v1.2.3 has a different login sequence than 1.9.2 - if string(*c.Version) == "" { - if _, err := c.notifyNewUserHasJoined(); err != nil { - return err - } - } - if _, err := c.notifyNewUserHasJoined(); err != nil { return err } |