summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorC. McEnroe2021-05-20 16:36:39 -0400
committerC. McEnroe2021-05-20 16:38:22 -0400
commit7bacf63d9e9e68a7352e656e820d735099a1a342 (patch)
tree2f0847cbed6dd4d42593aaf97241ee89e863454d /handle.c
parentc5014377350fbc1e46ee7a690e8d9218ebdb7274 (diff)
Don't require 4 parameters to ERR_USERONCHANNEL
It should have 4, but the handler only uses 3.
Diffstat (limited to 'handle.c')
-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),