From bb93b10e670c5c022771ce3fe63a1a4cedbbc788 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 21 May 2013 08:14:35 +0000 Subject: [PATCH] - m_pingpong: since we manually hunt ourselves, check against ID too --- src/modules/m_pingpong.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_pingpong.c b/src/modules/m_pingpong.c index a05720345..727e404ae 100644 --- a/src/modules/m_pingpong.c +++ b/src/modules/m_pingpong.c @@ -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 */