mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-14 08:33:34 -07:00
client: Fix crash from not having right line lengths computed
This commit is contained in:
@@ -100,6 +100,7 @@ func NewClient(server *Server, conn net.Conn, isTLS bool) *Client {
|
||||
nickCasefolded: "*",
|
||||
nickMaskString: "*", // * is used until actual nick is given
|
||||
}
|
||||
client.recomputeMaxlens()
|
||||
if isTLS {
|
||||
client.flags[TLS] = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user