mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
client: Fix crash from not having right line lengths computed
This commit is contained in:
parent
c6b6a25906
commit
384e6e1720
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user