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

Comparing ircd-hybrid/trunk/modules/m_pong.c (file contents):
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC vs.
Revision 1834 by michael, Fri Apr 19 19:50:27 2013 UTC

# Line 44 | Line 44 | ms_pong(struct Client *client_p, struct
44  
45    if (parc < 2 || EmptyString(parv[1]))
46    {
47 <    sendto_one(source_p, ERR_NOORIGIN,
47 >    sendto_one(source_p, form_str(ERR_NOORIGIN),
48                 me.name, source_p->name);
49      return;
50    }
# Line 67 | Line 67 | ms_pong(struct Client *client_p, struct
67                   source_p->name, origin, destination);
68      else
69      {
70 <      sendto_one(source_p, ERR_NOSUCHSERVER,
70 >      sendto_one(source_p, form_str(ERR_NOSUCHSERVER),
71                   me.name, source_p->name, destination);
72        return;
73      }
# Line 95 | Line 95 | mr_pong(struct Client *client_p, struct
95          }
96          else
97          {
98 <          sendto_one(source_p, ERR_WRONGPONG, me.name,
98 >          sendto_one(source_p, form_str(ERR_WRONGPONG), me.name,
99                       source_p->name, source_p->localClient->random_ping);
100            return;
101          }
# Line 103 | Line 103 | mr_pong(struct Client *client_p, struct
103      }
104    }
105    else
106 <    sendto_one(source_p, ERR_NOORIGIN,
106 >    sendto_one(source_p, form_str(ERR_NOORIGIN),
107                 me.name, source_p->name);
108   }
109  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)