]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/irc.c
Update error messages for user mode +b and channel Mode +M.
[ngircd.git] / src / ngircd / irc.c
index 1a57bec16274e96a78077829126cd9c086a1e3e4..9d9d3f026fcedfaf47b6475727e376acb768721e 100644 (file)
@@ -506,7 +506,7 @@ Send_Message(CLIENT * Client, REQUEST * Req, int ForceType, bool SendErrors)
                            !(Client_Type(from) == CLIENT_SERVER) &&
                            !(Client_Type(from) == CLIENT_SERVICE)) {
                                if (SendErrors && !IRC_WriteStrClient(from,
-                                               ERR_CANNOTSENDTONICK_MSG,
+                                               ERR_NONONREG_MSG,
                                                Client_ID(from), Client_ID(cl)))
                                        return DISCONNECTED;
                                goto send_next_target;