diff --git a/irc/client.go b/irc/client.go index 70f75194..ff306f34 100644 --- a/irc/client.go +++ b/irc/client.go @@ -39,6 +39,7 @@ func NewClient(server *Server, conn net.Conn) *Client { now := time.Now() client := &Client{ atime: now, + authorized: server.password == nil, capState: CapNone, capabilities: make(CapabilitySet), channels: make(ChannelSet), diff --git a/irc/constants.go b/irc/constants.go index 131ac2a0..a86cf0ee 100644 --- a/irc/constants.go +++ b/irc/constants.go @@ -23,7 +23,7 @@ var ( ) const ( - SEM_VER = "ergonomadic-1.2.13" + SEM_VER = "ergonomadic-1.2.14" CRLF = "\r\n" MAX_REPLY_LEN = 512 - len(CRLF)