aboutsummaryrefslogtreecommitdiff
path: root/modules/permissions.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-02 11:08:03 +0000
committerGravatar jesopo2018-11-02 11:08:03 +0000
commit4fcb80b834bac471c4772827b0d5d16316390ae6 (patch)
tree57ca9d6e8b51144da19662f2542e55e86c896596 /modules/permissions.py
parentCheck if a url is a gallery first, 'event' -> 'data' typo, actually return from (diff)
serverset identity-mechanism should be in modules/permissions.py
Diffstat (limited to 'modules/permissions.py')
-rw-r--r--modules/permissions.py2
1 files changed, 2 insertions, 0 deletions
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):