1
0
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:
Daniel Tan
2016-05-10 15:28:06 +08:00
parent c16be8f431
commit d5c6c545cb
+4
View File
@@ -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)
{