Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: cedba36965c3b89a5ab7222764bd751fd7fc88bf https://github.com/ngircd/ngircd/commit/cedba36965c3b89a5ab7222764bd751fd7fc... Author: Alexander Barton alex@barton.de Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths: M src/ngircd/irc.c M src/ngircd/messages.h
Log Message: ----------- Add "_MSG" postfix to ERR_WILDTOPLEVEL_MSG
Commit: 49ab79d0e64c73d575dfe87edce40637b8f2adef https://github.com/ngircd/ngircd/commit/49ab79d0e64c73d575dfe87edce40637b8f2... Author: Alexander Barton alex@barton.de Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths: M src/ngircd/defines.h M src/ngircd/irc.c M src/ngircd/messages.h M src/testsuite/message-test.e
Log Message: ----------- 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.
Compare: https://github.com/ngircd/ngircd/compare/40bea95c0896...49ab79d0e64c
ngircd-commits@lists.barton.de