aboutsummaryrefslogtreecommitdiff
path: root/modules/permissions
diff options
context:
space:
mode:
authorGravatar jesopo2019-08-30 14:40:54 +0100
committerGravatar jesopo2019-08-30 14:40:54 +0100
commit4bfb4c3200506da63eb0451d42a300ee400a176c (patch)
treed3efea90a174ca39371938f6e552b26fc8f5c33a /modules/permissions
parentLogging.BitBotFormatter no longer uses the format it's given (always iso8601) (diff)
signature
Add IntRangeSetting, reorder OptionsSetting arg order
Diffstat (limited to 'modules/permissions')
-rw-r--r--modules/permissions/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/permissions/__init__.py b/modules/permissions/__init__.py
index f1949b9a..ce259319 100644
--- a/modules/permissions/__init__.py
+++ b/modules/permissions/__init__.py
@@ -9,9 +9,8 @@ REQUIRES_IDENTIFY = "You need to be identified to use that command"
REQUIRES_IDENTIFY_INTERNAL = ("You need to be identified to use that command "
"(/msg %s register | /msg %s identify)")
-@utils.export("serverset", utils.OptionsSetting("identity-mechanism",
- ["internal", "ircv3-account"],
- "Set the identity mechanism for this server"))
+@utils.export("serverset", utils.OptionsSetting(["internal", "ircv3-account"],
+ "identity-mechanism", "Set the identity mechanism for this server"))
class Module(ModuleManager.BaseModule):
@utils.hook("new.user")
def new_user(self, event):