client: Fix minor bug when doing SASL before NICK/USER

This commit is contained in:
Daniel Oaks 2016-09-19 22:30:29 +10:00
parent 32b328f53f
commit 5d7d510348
1 changed files with 12 additions and 11 deletions

View File

@ -72,6 +72,7 @@ func NewClient(server *Server, conn net.Conn, isTLS bool) *Client {
socket: &socket,
account: &NoAccount,
nickString: "*", // * is used until actual nick is given
nickMaskString: "*", // * is used until actual nick is given
}
if isTLS {
client.flags[TLS] = true