mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-27 17:28:11 -07:00
adding theater-mode, fixes #15
This commit is contained in:
@@ -40,6 +40,7 @@ type Server struct {
|
||||
password []byte
|
||||
signals chan os.Signal
|
||||
whoWas *WhoWasList
|
||||
theaters map[Name][]byte
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -61,6 +62,7 @@ func NewServer(config *Config) *Server {
|
||||
operators: config.Operators(),
|
||||
signals: make(chan os.Signal, len(SERVER_SIGNALS)),
|
||||
whoWas: NewWhoWasList(100),
|
||||
theaters: config.Theaters(),
|
||||
}
|
||||
|
||||
if config.Server.Password != "" {
|
||||
|
||||
Reference in New Issue
Block a user