about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-05-20 16:36:39 -0400
committerJune McEnroe <june@causal.agency>2021-05-20 16:38:22 -0400
commit7bacf63d9e9e68a7352e656e820d735099a1a342 (patch)
tree2f0847cbed6dd4d42593aaf97241ee89e863454d
parentReplace freenode with tilde.chat (diff)
downloadcatgirl-7bacf63d9e9e68a7352e656e820d735099a1a342.tar.gz
catgirl-7bacf63d9e9e68a7352e656e820d735099a1a342.zip
Don't require 4 parameters to ERR_USERONCHANNEL
It should have 4, but the handler only uses 3.
Diffstat (limited to '')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 4614864..d6eeaab 100644
--- a/handle.c
+++ b/handle.c
@@ -509,7 +509,7 @@ static void handleReplyInviting(struct Message *msg) {
 }
 
 static void handleErrorUserOnChannel(struct Message *msg) {
-	require(msg, false, 4);
+	require(msg, false, 3);
 	uint id = idFor(msg->params[2]);
 	uiFormat(
 		id, Warm, tagTime(msg),
together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld Otherwise we can't easily embed links to other /about/ pages. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2015-08-12filters: apply HTML escapingLazaros Koromilas http://www.w3.org/International/questions/qa-escapes#use 2015-08-12git: update to v2.5.0Christian Hesse Update to git version v2.5.0. * Upstream commit 5455ee0573a22bb793a7083d593ae1ace909cd4c (Merge branch 'bc/object-id') changed API: for_each_ref() callback functions were taught to name the objects not with "unsigned char sha1[20]" but with "struct object_id". * Upstream commit dcf692625ac569fefbe52269061230f4fde10e47 (path.c: make get_pathname() call sites return const char *) Signed-off-by: Christian Hesse <mail@eworm.de> 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt