summaryrefslogtreecommitdiff
path: root/conf/inspircd.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'conf/inspircd.conf.example')
-rw-r--r--conf/inspircd.conf.example22
1 files changed, 19 insertions, 3 deletions
diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example
index ca218c4a1..1cfbeb40b 100644
--- a/conf/inspircd.conf.example
+++ b/conf/inspircd.conf.example
@@ -161,7 +161,15 @@
# need this ability should know the die and restart password. #
# #
-<power
+<power
+ # hash: what hash these passwords are hashed with. requires the module
+ # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
+ # loaded and the password hashing module (m_password_hash.so)
+ # loaded. Options here are: "md5", "sha256" and "ripemd160".
+ # Optional, but recommended. Create hashed password with:
+ # /mkpasswd <hash> <password>
+ #hash="sha256"
+
# diepass: Password for opers to use if they need to shutdown (die)
# a server.
diepass=""
@@ -192,10 +200,18 @@
<connect
# allow: What IP addresses/hosts to allow for this block.
- allow="196.12.*"
+ allow="196.12.*"
+
+ # hash: what hash this password is hashed with. requires the module
+ # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
+ # loaded and the password hashing module (m_password_hash.so)
+ # loaded. Options here are: "md5", "sha256" and "ripemd160".
+ # Optional, but recommended. Create hashed password with:
+ # /mkpasswd <hash> <password>
+ #hash="sha256"
# password: Password to use for this block/user(s)
- password="secret"
+ password="secret"
# port: What port this user is allowed to connect on. (optional)
# The port MUST be set to listen in the bind blocks above.