Don't require 4 parameters to ERR_USERONCHANNEL

It should have 4, but the handler only uses 3.
master
C. McEnroe 2021-05-20 16:36:39 -04:00
parent c501437735
commit 7bacf63d9e
1 changed files with 1 additions and 1 deletions

View File

@ -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),