commit c1656256df687c4a093ceb502de84bf4b0447f3c from: Alexander Barton date: Mon Jan 16 11:37:37 2012 UTC PRIVMSG/NOTICE: don't stop list processing on invalid target Process further targets, even if one has been a server ID: just skip this one with an error message and continue. commit - 1f4711a5474d2f0ea4664bd9b54f036af11f96cd commit + c1656256df687c4a093ceb502de84bf4b0447f3c blob - 2b94e33ac229b44cf509277c23944034bebf5a51 blob + 5af79396ee0add0ef82f5dd8a7905ccdce912636 --- src/ngircd/irc.c +++ src/ngircd/irc.c @@ -469,11 +469,11 @@ Send_Message(CLIENT * Client, REQUEST * Req, int Force #else if (Client_Type(cl) != ForceType) { #endif - if (!SendErrors) - return CONNECTED; - return IRC_WriteStrClient(from, ERR_NOSUCHNICK_MSG, - Client_ID(from), - currentTarget); + if (SendErrors && !IRC_WriteStrClient( + from, ERR_NOSUCHNICK_MSG,Client_ID(from), + currentTarget)) + return DISCONNECTED; + goto send_next_target; } #ifndef STRICT_RFC