mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 10:20:28 +00:00
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.
This commit is contained in:
parent
1f4711a547
commit
c1656256df
@ -469,11 +469,11 @@ Send_Message(CLIENT * Client, REQUEST * Req, int ForceType, bool SendErrors)
|
|||||||
#else
|
#else
|
||||||
if (Client_Type(cl) != ForceType) {
|
if (Client_Type(cl) != ForceType) {
|
||||||
#endif
|
#endif
|
||||||
if (!SendErrors)
|
if (SendErrors && !IRC_WriteStrClient(
|
||||||
return CONNECTED;
|
from, ERR_NOSUCHNICK_MSG,Client_ID(from),
|
||||||
return IRC_WriteStrClient(from, ERR_NOSUCHNICK_MSG,
|
currentTarget))
|
||||||
Client_ID(from),
|
return DISCONNECTED;
|
||||||
currentTarget);
|
goto send_next_target;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef STRICT_RFC
|
#ifndef STRICT_RFC
|
||||||
|
Loading…
Reference in New Issue
Block a user