diff options
| author | Alexander Barton <alex@barton.de> | 2016-01-04 22:11:47 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2016-01-04 22:15:46 +0100 |
| commit | 49ab79d0e64c73d575dfe87edce40637b8f2adef (patch) | |
| tree | 38b1712ada276efa8f659331a643bea71a532791 /src/tool | |
| parent | cedba36965c3b89a5ab7222764bd751fd7fc88bf (diff) | |
| download | ngircd-49ab79d0e64c73d575dfe87edce40637b8f2adef.tar.gz ngircd-49ab79d0e64c73d575dfe87edce40637b8f2adef.zip | |
Limit the number of message targes, and suppress duplicates
This prevents an user from flooding the server using commands like this: PRIVMSG nick1,nick1,nick1,... Duplicate targets are suppressed silently (channels and clients). In addition, the maximum number of targets per PRIVMSG/NOTICE/... command are limited to MAX_HNDL_TARGETS (25). If there are more, the daemon sends the new 407 (ERR_TOOMANYTARGETS_MSG) numeric, containing the first target that hasn't been handled any more. Closes #187.
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions