1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 14:03:12 +02:00

MODE: Reply with ERR_NOSUCHCHANNEL when the target is a channel (#287)

This commit is contained in:
Val Lorentz
2024-07-05 09:28:12 +02:00
committed by GitHub
parent 36b6e00701
commit 2a3f5dc500
+1 -1
View File
@@ -107,7 +107,7 @@ CMD_FUNC(cmd_mode)
channel = find_channel(parv[1]);
if (!channel)
{
CALL_CMD_FUNC(cmd_umode);
sendnumeric(client, ERR_NOSUCHCHANNEL, parv[1]);
return;
}
} else