diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-09-13 01:15:44 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-09-13 18:12:38 +0200 |
commit | 1b03dfaeec9b4e4668fe1c02af93ebf4e7f82f73 (patch) | |
tree | 2bb6fc7ae2b941f87e0c8492bcd97becfa96a8ef /docs/conf | |
parent | 35ce47718b6021115c9b12e7e63a7daf8bb4a900 (diff) |
m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a config option to choose between behaviors
Fixes #287 reported by @ElementalAlchemist
Diffstat (limited to 'docs/conf')
-rw-r--r-- | docs/conf/modules.conf.example | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 76563fbeb..84e3b26ab 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -943,6 +943,14 @@ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Knock module: adds the /KNOCK command and +K channel mode #<module name="m_knock.so"> +# This setting specifes what to do when someone successfully /KNOCKs. +# If set to "notice", then a NOTICE will be sent to the channel. +# This is the default and the compatible setting, as it requires no +# special support from the clients. +# If set to "numeric" then a 710 numeric will be sent to the channel. +# This allows easier scripting but not all clients support it. +# If set to "both" then (surprise!) both will be sent. +#<knock notify="notice"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # LDAP authentication module: Adds the ability to authenticate users # |