1
0
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:
William Pitcock
2013-05-21 08:14:35 +00:00
parent 2ccaea07b5
commit bb93b10e67
+1 -1
View File
@@ -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 */