goirc/server/config/oper.go

17 lines
274 B
Go

package config
type cOper struct {
Username, Password string
HostMask []string
// Permissions for oper
CanKill, CanBan, CanNick, CanLink bool
}
var cOperDefaults = &cOper{
HostMask: []string{"*@*"},
CanKill: true, CanBan: true,
CanNick: false, CanLink: false,
}