summaryrefslogtreecommitdiff
path: root/docs/modules.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules.conf.example')
-rw-r--r--docs/modules.conf.example28
1 files changed, 20 insertions, 8 deletions
diff --git a/docs/modules.conf.example b/docs/modules.conf.example
index 82e722f59..4db33190d 100644
--- a/docs/modules.conf.example
+++ b/docs/modules.conf.example
@@ -1244,6 +1244,26 @@
#<module name="m_opermodes.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Password forwarding module: Forwards a password users can send on connect
+# to the specified client below. The client is usually nickserv and this
+# module is usually used to authenticate users with nickserv using their
+# connect password.
+#<module name="m_passforward.so">
+
+<passforward
+ # nick: nick to forward connect passwords to.
+ nick="NickServ"
+
+ # forwardmsg: Message to send to users using a connect password.
+ # $nick will be the users' nick, $nickrequired will be the nick
+ # of where the password is going (the nick above).
+ forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
+
+ # cmd: Command for the nick to run when it recieves a connect
+ # password.
+ cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Oper password hash module: Allows hashed oper passwords
# Relies on the module m_md5.so and/or m_sha256.so being loaded before
# m_password_hash.so in the configuration file.
@@ -1408,14 +1428,6 @@
# so that at least \s or [[:space:]] is available.
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# JSON-RPC module: Encode and decode JSON-RPC requests for modules
-#<module name="m_rpc_json.so">
-
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# RPC test module: A test of the RPC API
-#<module name="m_rpctest.so">
-
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# SAJOIN module: Adds the /SAJOIN command
# This module is oper-only.
# To use, SAJOIN must be in one of your oper class blocks.