Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: cedba36965c3b89a5ab7222764bd751fd7fc88bf
https://github.com/ngircd/ngircd/commit/cedba36965c3b89a5ab7222764bd751fd7f…
Author: Alexander Barton <alex(a)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/49ab79d0e64c73d575dfe87edce40637b8f…
Author: Alexander Barton <alex(a)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
Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 4693226d6983b5ed4bd74b32a8daa9a3124ed17c
https://github.com/ngircd/ngircd/commit/4693226d6983b5ed4bd74b32a8daa9a3124…
Author: Alexander Barton <alex(a)barton.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths:
M src/ngircd/irc.c
Log Message:
-----------
Get rid of unclever assert() in Send_Message_Mask()
Either we use assert() to _guarantee_ a certain condition, or we use
if(...) to test for it. But never both.
So get rid of the assert() in Send_Message_Mask() and handle the case
that the target mask doesn't contain a dot (".") as regular error,
don't require the caller to assure that any more.
This polishes commit 5a312824.
Please note:
The test in Send_Message() is still _required_ to detect whether the
target is a channel (no dot) or a "target mask" (at least one dot)!
Commit: 7c7d03b7309062995583595cfbdbd0f356d7a23b
https://github.com/ngircd/ngircd/commit/7c7d03b7309062995583595cfbdbd0f356d…
Author: Alexander Barton <alex(a)barton.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths:
M src/ngircd/irc.c
Log Message:
-----------
Enahnce comments for Send_Message() and Send_Message_Mask()
No functional changes.
Compare: https://github.com/ngircd/ngircd/compare/afb59ab8e5cc...7c7d03b73090