mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 14:13:13 +02:00
m_mode.c: Send ERR_USERSDONTMATCH when trying to change modes for others (#3691)
This commit is contained in:
@@ -1583,7 +1583,11 @@ CMD_FUNC(_m_umode)
|
||||
return 0;
|
||||
}
|
||||
if (acptr != sptr)
|
||||
{
|
||||
sendto_one(sptr, err_str(ERR_USERSDONTMATCH),
|
||||
me.name, sptr->name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (parc < 3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user