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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user