]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
m_kicknorejoin Limit time to 30m by default
authorattilamolnar <attilamolnar@hush.com>
Mon, 18 Feb 2013 18:56:05 +0000 (19:56 +0100)
committerattilamolnar <attilamolnar@hush.com>
Tue, 16 Apr 2013 11:18:40 +0000 (13:18 +0200)
commit4b81b4004d086555885d5e4a2541b0a92eb4a9ae
treef92372154ba4bd4def60efad28f0c12bcd8db4cb
parente3939559e4496c520ec29ad16a5cab99efe7257e
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)
docs/conf/modules.conf.example
src/modules/m_kicknorejoin.cpp