added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / ircd / m_ping.c
index c1393d44b95e10d6e72675c65caebfddf65446b1..95d747953e3a37d8ede7a9abfac110e0127099f6 100644 (file)
@@ -178,14 +178,13 @@ int m_ping(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 int mo_ping(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
   struct Client* acptr;
-  char *destination, *origin;
+  char *destination;
   assert(0 != cptr);
   assert(cptr == sptr);
 
   if (parc < 2 || EmptyString(parv[1]))
     return send_reply(sptr, ERR_NOORIGIN);
 
-  origin = parv[1];
   destination = parv[2];        /* Will get NULL or pointer (parc >= 2!!) */
 
   if (!EmptyString(destination) && 0 != ircd_strcmp(destination, cli_name(&me))) {