Don't require 4 parameters to ERR_USERONCHANNEL
It should have 4, but the handler only uses 3.
This commit is contained in:
parent
c501437735
commit
7bacf63d9e
2
handle.c
2
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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user