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

Comparing ircd-hybrid/trunk/modules/m_lusers.c (file contents):
Revision 3155 by michael, Thu Mar 6 19:25:12 2014 UTC vs.
Revision 3156 by michael, Fri Mar 14 19:57:38 2014 UTC

# Line 47 | Line 47
47   * 2003 hacked parv[1] back in, by request of efnet admins/opers -Dianora
48   */
49   static int
50 < m_lusers(struct Client *client_p, struct Client *source_p,
51 <         int parc, char *parv[])
50 > m_lusers(struct Client *source_p, int parc, char *parv[])
51   {
52    static time_t last_used = 0;
53  
# Line 62 | Line 61 | m_lusers(struct Client *client_p, struct
61    last_used = CurrentTime;
62  
63    if (parc > 2 && !ConfigServerHide.disable_remote_commands)
64 <    if (hunt_server(client_p, source_p, ":%s LUSERS %s :%s", 2,
64 >    if (hunt_server(source_p, ":%s LUSERS %s :%s", 2,
65                      parc, parv) != HUNTED_ISME)
66        return 0;
67  
# Line 76 | Line 75 | m_lusers(struct Client *client_p, struct
75   * parv[2] = server to query
76   */
77   static int
78 < ms_lusers(struct Client *client_p, struct Client *source_p,
80 <          int parc, char *parv[])
78 > ms_lusers(struct Client *source_p, int parc, char *parv[])
79   {
80    if (parc > 2)
81 <    if (hunt_server(client_p, source_p, ":%s LUSERS %s :%s", 2,
81 >    if (hunt_server(source_p, ":%s LUSERS %s :%s", 2,
82                      parc, parv) != HUNTED_ISME)
83          return 0;
84  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines