Set default client language when creating them

This commit is contained in:
Daniel Oaks
2018-01-22 21:30:28 +10:00
parent 275227a461
commit 090095b2b9
3 changed files with 16 additions and 2 deletions
+1
View File
@@ -102,6 +102,7 @@ func NewClient(server *Server, conn net.Conn, isTLS bool) *Client {
nickCasefolded: "*",
nickMaskString: "*", // * is used until actual nick is given
}
client.languages = server.languages.Default()
client.recomputeMaxlens()
if isTLS {