perms: consistently use >= for admin levels
places that use the PERMS constant do it and this way makes it clearer what admin level is required to perform an action.
This commit is contained in:
parent
3bbedd7375
commit
688cd91e83
21 changed files with 50 additions and 50 deletions
|
@ -70,7 +70,7 @@ def speak(data, v):
|
|||
|
||||
total += 1
|
||||
|
||||
if v.admin_level > 1:
|
||||
if v.admin_level >= 2:
|
||||
text = text.lower()
|
||||
for i in mute_regex.finditer(text):
|
||||
username = i.group(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue