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

Comparing ircd-hybrid-7.3/modules/m_dline.c (file contents):
Revision 1058 by michael, Tue Feb 2 22:15:03 2010 UTC vs.
Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC

# Line 45 | Line 45
45   #include "s_gline.h"
46   #include "parse.h"
47   #include "modules.h"
48 #include "irc_getnameinfo.h"
48  
49  
50   static void mo_dline(struct Client *, struct Client *, int, char *[]);
# Line 172 | Line 171 | mo_dline(struct Client *client_p, struct
171        return;
172      }
173  
174 <    irc_getnameinfo((struct sockaddr *)&target_p->localClient->ip,
175 <                    target_p->localClient->ip.ss_len, hostip,
176 <                    sizeof(hostip), NULL, 0, NI_NUMERICHOST);
178 <
174 >    getnameinfo((struct sockaddr *)&target_p->localClient->ip,
175 >                target_p->localClient->ip.ss_len, hostip,
176 >                sizeof(hostip), NULL, 0, NI_NUMERICHOST);
177      dlhost = hostip;
178      t = parse_netmask(dlhost, NULL, &bits);
179      assert(t == HM_IPV4 || t == HM_IPV6);

Diff Legend

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