summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-01 20:46:32 +0300
committerNakidai <nakidai@disroot.org>2026-02-01 21:01:46 +0300
commita7298f097c6e899dfc4cd91468cd3256f024870a (patch)
tree16ebfcd50848e202d4774dede5a3bbeaeca5bd63
parent724205c1bc157b8933b1c63ec37014c2f07842ae (diff)
downloadlibreircd-a7298f097c6e899dfc4cd91468cd3256f024870a.tar.gz
libreircd-a7298f097c6e899dfc4cd91468cd3256f024870a.zip
Update README
It wasn't very accurate for this time
-rw-r--r--README3
-rw-r--r--handle.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 473e983..17bc84a 100644
--- a/README
+++ b/README
@@ -5,5 +5,4 @@ Simple IRC server in C
 usage: ircd hostname bindaddr port
 
 ---------------
-This project is incomplete: channels, modes, a lot of validation is not present
-yet.
+This project is incomplete: server-to-server links, modes are not present yet
diff --git a/handle.c b/handle.c
index c595f06..8e91404 100644
--- a/handle.c
+++ b/handle.c
@@ -39,7 +39,8 @@ join(struct Message *msg, struct Peer *peer)
 	for (cp = msg->params[0]; *cp; ++cp)
 		ensure(
 			*cp != '\a' && *cp != ',' && *cp != ':',
-			reply(peer, 403, msg->params[0])
+			reply(peer, 403, msg->params[0]),
+			0
 		);
 
 	for (i = 0; i < peer->channels_c; ++i)