mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 22:40:23 +08:00
mlh
This commit is contained in:
parent
bc23211f23
commit
a588ec9d18
@ -77,9 +77,8 @@ func (m *Control) isEnabledIn(gid int64) bool {
|
||||
m.RUnlock()
|
||||
logrus.Debugf("[control] plugin %s of grp %d : %d", m.service, c.GroupID, c.Disable)
|
||||
return c.Disable == 0
|
||||
} else {
|
||||
logrus.Errorf("[control] %v", err)
|
||||
}
|
||||
logrus.Errorf("[control] %v", err)
|
||||
m.RUnlock()
|
||||
if m.options.DisableOnDefault {
|
||||
m.disable(gid)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user