mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 23:46:37 +02:00
Update security in squit
This commit is contained in:
@@ -155,7 +155,7 @@ CMD_FUNC(m_squit)
|
||||
/*
|
||||
** Notify all opers, if my local link is remotely squitted
|
||||
*/
|
||||
if (MyConnect(acptr) && !IsOper(cptr))
|
||||
if (MyConnect(acptr) && !MyClient(cptr))
|
||||
{
|
||||
sendto_umode_global(UMODE_OPER, "Received SQUIT %s from %s (%s)",
|
||||
acptr->name, get_client_name(sptr, FALSE), comment);
|
||||
|
||||
Reference in New Issue
Block a user