From 4bfb4c3200506da63eb0451d42a300ee400a176c Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 30 Aug 2019 14:40:54 +0100 Subject: Add IntRangeSetting, reorder OptionsSetting arg order --- modules/permissions/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/permissions') 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): -- cgit v1.3.1-10-gc9f91