aboutsummaryrefslogtreecommitdiffstats
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-24 11:13:58 +0100
committerGravatar Sadie Powell2021-07-24 11:16:07 +0100
commit6369f4eab7fc7aa7813b7c033ac13dda4691e93f (patch)
tree182b8ce58e7dfbdc50a937a540d6753f0a4c268f /src/socketengine.cpp
parentHandle exceptions from hash providers in password_hash. (diff)
downloadinspircd++-6369f4eab7fc7aa7813b7c033ac13dda4691e93f.tar.gz
inspircd++-6369f4eab7fc7aa7813b7c033ac13dda4691e93f.tar.bz2
inspircd++-6369f4eab7fc7aa7813b7c033ac13dda4691e93f.zip
Update the default limits in the example config.
- Change maxchan from 64 to 60 (base 10 is more human friendly) - Change maxreal from 128 to 130 (base 10 is more human friendly) - Recalculate the maximum lengths of maxkick and maxtopic. For maxkick: ':' <nick> '!' <user> '@' <host> ' KICK ' <channel> ' ' <nick> ' :' <REASON> "\r\n" 1 [30] 1 [10] 1 [64] 6 [60] 1 [30] 2 2 1 + 30 + 1 + 10 + 1 + 64 + 6 + 60 + 1 + 30 + 2 + 2 = 208 512 - 208 = 304 (rounded down to 300) For maxtopic: ':' <nick> '!' <user> '@' <host> ' TOPIC ' <channel> ' :' <TOPIC> "\r\n" 1 [30] 1 [10] 1 [64] 7 [60] 2 2 1 + 30 + 1 + 10 + 1 + 64 + 7 + 60 + 2 + 2 = 178 512 - 178 = 334 (rounded down to 330)
Diffstat (limited to 'src/socketengine.cpp')
0 files changed, 0 insertions, 0 deletions