1
0
Fork 0
forked from External/ergo

nickserv: implement GHOST, GROUP, DROP, and INFO

This commit is contained in:
Shivaram Lingamneni 2018-03-02 17:04:24 -05:00
parent b211fd35da
commit a022befffe
6 changed files with 308 additions and 84 deletions

View file

@ -117,10 +117,11 @@ func (nr *NickReservationMethod) UnmarshalYAML(unmarshal func(interface{}) error
}
type NickReservationConfig struct {
Enabled bool
Method NickReservationMethod
RenameTimeout time.Duration `yaml:"rename-timeout"`
RenamePrefix string `yaml:"rename-prefix"`
Enabled bool
AdditionalNickLimit int `yaml:"additional-nick-limit"`
Method NickReservationMethod
RenameTimeout time.Duration `yaml:"rename-timeout"`
RenamePrefix string `yaml:"rename-prefix"`
}
// ChannelRegistrationConfig controls channel registration.