mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 06:13:13 +02:00
- m_pingpong: since we manually hunt ourselves, check against ID too
This commit is contained in:
@@ -115,7 +115,7 @@ DLLFUNC int m_ping(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
origin = cptr->name;
|
||||
}
|
||||
|
||||
if (!BadPtr(destination) && mycmp(destination, me.name) != 0)
|
||||
if (!BadPtr(destination) && mycmp(destination, me.name) != 0 && mycmp(destination, me.id) != 0)
|
||||
{
|
||||
if (MyClient(sptr))
|
||||
origin = sptr->name; /* Make sure origin is not spoofed */
|
||||
|
||||
Reference in New Issue
Block a user