diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/commands.py | 2 | ||||
| -rw-r--r-- | modules/permissions.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands.py b/modules/commands.py index 83eb3cb1..f5517cd0 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -75,8 +75,6 @@ def _command_method_validate(s): "help": "Set the command prefix used in this channel"}) @utils.export("serverset", {"setting": "command-prefix", "help": "Set the command prefix used on this server"}) -@utils.export("serverset", {"setting": "identity-mechanism", - "help": "Set the identity mechanism for this server"}) @utils.export("serverset", {"setting": "command-method", "help": "Set the method used to respond to commands", "validate": _command_method_validate}) diff --git a/modules/permissions.py b/modules/permissions.py index 64bba006..873e346d 100644 --- a/modules/permissions.py +++ b/modules/permissions.py @@ -5,6 +5,8 @@ from src import ModuleManager, utils REQUIRES_IDENTIFY = ("You need to be identified to use that command " "(/msg %s register | /msg %s identify)") +@utils.export("serverset", {"setting": "identity-mechanism", + "help": "Set the identity mechanism for this server"}) class Module(ModuleManager.BaseModule): @utils.hook("new.user") def new_user(self, event): |
