mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +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):
|
def checkCapabilities(hostmask, capabilities, requireAll=False):
|
||||||
"""Checks that a user has capabilities in a list.
|
"""Checks that a user has capabilities in a list.
|
||||||
|
|
||||||
requireAll is the True if *all* capabilities in the list must be had, False
|
requireAll is True if *all* capabilities in the list must be had, False if
|
||||||
if *any* of the capabilities in the list must be had.
|
*any* of the capabilities in the list must be had.
|
||||||
"""
|
"""
|
||||||
for capability in capabilities:
|
for capability in capabilities:
|
||||||
if requireAll:
|
if requireAll:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user