mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-13 19:38:11 -07:00
fix #868
This commit is contained in:
+1
-1
@@ -973,7 +973,7 @@ func (client *Client) HasRoleCapabs(capabs ...string) bool {
|
||||
}
|
||||
|
||||
for _, capab := range capabs {
|
||||
if !oper.Class.Capabilities[capab] {
|
||||
if !oper.Class.Capabilities.Has(capab) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user