mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Fix some grammar in the help string.
This commit is contained in:
parent
4030026c4c
commit
68ef3d86a4
@ -1046,8 +1046,8 @@ def checkCapability(hostmask, capability, users=users, channels=channels):
|
||||
def checkCapabilities(hostmask, capabilities, requireAll=False):
|
||||
"""Checks that a user has capabilities in a list.
|
||||
|
||||
requireAll is the True if *all* capabilities in the list must be had, False
|
||||
if *any* of the capabilities in the list must be had.
|
||||
requireAll is True if *all* capabilities in the list must be had, False if
|
||||
*any* of the capabilities in the list must be had.
|
||||
"""
|
||||
for capability in capabilities:
|
||||
if requireAll:
|
||||
|
Loading…
Reference in New Issue
Block a user