ngircd-tor/src
Alexander Barton 7dba1a0766 Send_Message: Fix handling of "empty" targets
Clients can specify multiple targets for the "PRIVMSG", "NOTICE", and
"SQUERY" commands, separated by commas (e. g. "PRIVMSG a,#b,c :text").

Since commit 49ab79d0 ("Limit the number of message targes, and suppress
duplicates"), ngIRCd crashed when the client sent the separator character
only as target(s), e. g. "," or ",,,," etc.!

This patch fixes the bug and adds a test case for this issue.

Thanks to Florian Westphal <fw@strlen.de> for spotting the issue!
2016-01-07 01:54:11 +01:00
..
ipaddr Streamline ".gitignore" files 2015-07-19 03:03:06 +02:00
ngircd Send_Message: Fix handling of "empty" targets 2016-01-07 01:54:11 +01:00
portab Whitespace fixes (no functional changes) 2015-08-01 15:15:30 +02:00
testsuite Send_Message: Fix handling of "empty" targets 2016-01-07 01:54:11 +01:00
tool Streamline ".gitignore" files 2015-07-19 03:03:06 +02:00
Makefile.am IPv6 support. 2008-02-26 23:50:35 +01:00