1
0
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:
Travis McArthur
2015-07-09 13:38:25 -07:00
parent 9e8f61b2a5
commit 14c4a19d18
+1 -1
View File
@@ -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);