diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-02-18 19:56:05 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-16 13:18:40 +0200 |
commit | 4b81b4004d086555885d5e4a2541b0a92eb4a9ae (patch) | |
tree | f92372154ba4bd4def60efad28f0c12bcd8db4cb /docs/conf | |
parent | e3939559e4496c520ec29ad16a5cab99efe7257e (diff) |
m_kicknorejoin Limit time to 30m by default
In the current implementation we only expire entries when someone joins, without a limit it was possible to make us practically never remove entries and consume (a tiny amount of) memory for each entry until the mode was removed/parameter was changed
The default limit of 30m is chosen to not surprise people when they upgrade. If you need to prevent rejoins for more than a minute then you should set a (timed)ban instead
Config option is available to change the limit (2.0 only)
Diffstat (limited to 'docs/conf')
-rw-r--r-- | docs/conf/modules.conf.example | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 0e7b3a29b..7a6c478f1 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -954,6 +954,8 @@ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J) #<module name="m_kicknorejoin.so"> +# Set the maximum time that is accepted as a parameter for +J here. +#<kicknorejoin maxtime="1m"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Knock module: adds the /KNOCK command and +K channel mode |