summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/modules.example.conf10
-rw-r--r--data/nickserv.example.conf13
-rw-r--r--modules/nickserv/ns_sasl.cpp (renamed from modules/sasl.cpp)0
3 files changed, 13 insertions, 10 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index 0ae9a9456..e3cd7ad22 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -559,16 +559,6 @@ module
}
/*
- * sasl
- *
- * Some IRCds allow "SASL" authentication to let users identify to services
- * during the IRCd user registration process. If this module is loaded, Anope will allow
- * authenticating users through this mechanism. Supported mechanisms are:
- * PLAIN, EXTERNAL.
- */
-module { name = "sasl" }
-
-/*
* ssl_gnutls [EXTRA]
*
* This module provides SSL services to Anope using GnuTLS, for example to
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index ad41ba37f..9e08d5e40 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -520,6 +520,19 @@ module { name = "ns_resetpass" }
command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpass"; }
/*
+ * ns_sasl
+ *
+ * Provides support for authentication to services via IRCv3 SASL. This is a standardised
+ * alternative to ns_identify that is supported by several IRCds.
+ *
+ * You will need to configure your IRCd to use SASL. See the following links for details:
+ *
+ * InspIRCd: https://docs.inspircd.org/4/modules/sasl/
+ * UnrealIRCd: https://www.unrealircd.org/docs/SASL#Enabling_SASL_on_the_server
+ */
+module { name = "ns_sasl" }
+
+/*
* ns_set
*
* Provides the commands:
diff --git a/modules/sasl.cpp b/modules/nickserv/ns_sasl.cpp
index bbbdda696..bbbdda696 100644
--- a/modules/sasl.cpp
+++ b/modules/nickserv/ns_sasl.cpp