/[svn]/ircd-hybrid/branches/8.2.x/modules/m_ping.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/modules/m_ping.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4713 by michael, Tue Oct 7 10:56:18 2014 UTC revision 4714 by michael, Tue Oct 7 11:02:17 2014 UTC
# Line 114  ms_ping(struct Client *source_p, int par Line 114  ms_ping(struct Client *source_p, int par
114    if (!EmptyString(destination) && irccmp(destination, me.name) && irccmp(destination, me.id))    if (!EmptyString(destination) && irccmp(destination, me.name) && irccmp(destination, me.id))
115    {    {
116      if ((target_p = hash_find_server(destination)))      if ((target_p = hash_find_server(destination)))
117        sendto_one(target_p, ":%s PING %s :%s",      {
118                   ID_or_name(source_p, target_p), source_p->name,        if (target_p->from != source_p->from)
119                   ID_or_name(target_p, target_p));          sendto_one(target_p, ":%s PING %s :%s",
120                       ID_or_name(source_p, target_p), source_p->name,
121                       ID_or_name(target_p, target_p));
122        }
123      else if (!IsDigit(*destination))      else if (!IsDigit(*destination))
124        sendto_one_numeric(source_p, &me, ERR_NOSUCHSERVER, destination);        sendto_one_numeric(source_p, &me, ERR_NOSUCHSERVER, destination);
125    }    }

Legend:
Removed from v.4713  
changed lines
  Added in v.4714

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28