mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-21 15:30:09 +08:00
fix
This commit is contained in:
parent
f1e4a523ce
commit
acb7b42ded
@ -23,7 +23,7 @@ func init() {
|
||||
})
|
||||
|
||||
onceRule := fcext.DoOnceOnSuccess(func(ctx *zero.Ctx) bool {
|
||||
managers = ctx.State["managers"].(*ctrl.Control[*zero.Ctx]).Manager
|
||||
managers = ctx.State["manager"].(*ctrl.Control[*zero.Ctx]).Manager
|
||||
db.DBPath = engine.DataFolder() + "anti_abuse.db"
|
||||
err := db.Open(time.Hour * 4)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user