Author: Gte <gte@atomicrevs.demon.co.uk>
[ircu2.10.12-pk.git] / ircd / m_rpong.c
index ce67329432540db7b4674d38467857ca42bc5742..9e0177d32b50faccb5e193698d61a564afb9d44b 100644 (file)
@@ -127,7 +127,7 @@ int ms_rpong(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     /*
      * from pinged server to source server
      */
-    if (!(acptr = FindNServer(parv[1])))
+    if (!(acptr = FindServer(parv[1])))
       return 0;
    
     if (IsMe(acptr)) {
@@ -144,7 +144,7 @@ int ms_rpong(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     }
     else
       sendto_one(acptr, "%s " TOK_RPONG " %s %s %s %s :%s",
-                 parv[0], parv[1], parv[2], parv[3], parv[4], parv[5]);
+                 NumServ(sptr), parv[1], parv[2], parv[3], parv[4], parv[5]);
   }
   else {
     /*