Allow looking up usernames with ident on connection

This commit is contained in:
Daniel Oaks
2016-06-30 19:28:34 +10:00
parent 1d51bb450a
commit 19c2bb69fc
5 changed files with 38 additions and 0 deletions
+2
View File
@@ -41,6 +41,7 @@ type Server struct {
whoWas *WhoWasList
theaters map[Name][]byte
isupport *ISupportList
checkIdent bool
}
var (
@@ -69,6 +70,7 @@ func NewServer(config *Config) *Server {
proxyAllowedFrom: config.Server.ProxyAllowedFrom,
whoWas: NewWhoWasList(100),
theaters: config.Theaters(),
checkIdent: config.Server.CheckIdent,
}
if config.Server.MOTD != "" {