mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
Update rule.go
This commit is contained in:
parent
1036733fcb
commit
2ffe1e9112
@ -29,8 +29,8 @@ type Control struct {
|
||||
options Options
|
||||
}
|
||||
|
||||
// new returns Manager with settings.
|
||||
func new(service string, o *Options) *Control {
|
||||
// newctrl returns Manager with settings.
|
||||
func newctrl(service string, o *Options) *Control {
|
||||
m := &Control{service: service,
|
||||
options: func() Options {
|
||||
if o == nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user