ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_ping.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_ping.c (file contents):
Revision 1831 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC

# Line 50 | Line 50 | m_ping(struct Client *client_p, struct C
50  
51    if (parc < 2 || EmptyString(parv[1]))
52    {
53 <    sendto_one(source_p, form_str(ERR_NOORIGIN),
53 >    sendto_one(source_p, ERR_NOORIGIN,
54                 me.name, source_p->name);
55      return;
56    }
# Line 77 | Line 77 | m_ping(struct Client *client_p, struct C
77      }
78      else
79      {
80 <      sendto_one(source_p, form_str(ERR_NOSUCHSERVER),
80 >      sendto_one(source_p, ERR_NOSUCHSERVER,
81                   me.name, source_p->name, destination);
82        return;
83      }
# Line 96 | Line 96 | ms_ping(struct Client *client_p, struct
96  
97    if (parc < 2 || EmptyString(parv[1]))
98    {
99 <    sendto_one(source_p, form_str(ERR_NOORIGIN),
99 >    sendto_one(source_p, ERR_NOORIGIN,
100                 me.name, source_p->name);
101      return;
102    }
# Line 111 | Line 111 | ms_ping(struct Client *client_p, struct
111                   origin, destination);
112      else
113      {
114 <      sendto_one(source_p, form_str(ERR_NOSUCHSERVER),
114 >      sendto_one(source_p, ERR_NOSUCHSERVER,
115                   ID_or_name(&me, client_p), source_p->name, destination);
116        return;
117      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines