ref: e5ebb78416d5860c502486f60896812696b718eb
parent: 0acc524c9faec4f0bd87f82da1a6a22a7faaa065
author: mkf <mkf@cloud9p.org>
date: Tue Sep 26 02:49:25 EDT 2023
CantsendtoChannel → Cantsendtochannel and add nick in 403
--- a/ircd.c
+++ b/ircd.c
@@ -363,9 +363,9 @@
break;
case Nosuchchannel:
/* r->argv is: channel */
- n = snprint(buf, n, ":%s 403 %s :No such channel\r\n", servername, r->argv[0]);
+ n = snprint(buf, n, ":%s 403 %s %s :No such channel\r\n", servername, c->nick, r->argv[0]);
break;
- case CantsendtoChannel:
+ case Cantsendtochannel:
/* r->argv is: channel */
n = snprint(buf, n, ":%s 404 %s %s :Cannot send to channel\r\n", servername, c->nick, r->argv[0]);
break;