From 7bacf63d9e9e68a7352e656e820d735099a1a342 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Thu, 20 May 2021 16:36:39 -0400 Subject: Don't require 4 parameters to ERR_USERONCHANNEL It should have 4, but the handler only uses 3. --- handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit 1.4.1-2-gfad0