🎨 小修改

This commit is contained in:
Kanri
2021-10-15 22:02:14 +08:00
parent c46ca1d4c2
commit d375a3bbbb
5 changed files with 5 additions and 9 deletions

View File

@@ -69,6 +69,7 @@ func (m *Control) Disable(groupID int64) {
m.Unlock()
}
// IsEnabledIn 开启群
func (m *Control) IsEnabledIn(gid int64) bool {
m.RLock()
var c grpcfg