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

Comparing ircd-hybrid-7.2/src/s_user.c (file contents):
Revision 889 by michael, Thu Nov 1 12:59:05 2007 UTC vs.
Revision 891 by michael, Thu Nov 1 13:44:50 2007 UTC

# Line 35 | Line 35
35   #include "irc_string.h"
36   #include "sprintf_irc.h"
37   #include "s_bsd.h"
38 #include "irc_getnameinfo.h"
38   #include "ircd.h"
39   #include "list.h"
40   #include "listener.h"
# Line 287 | Line 286 | register_local_user(struct Client *clien
286                      const char *nick, const char *username)
287   {
288    const struct AccessItem *aconf = NULL;
290  char ipaddr[HOSTIPLEN];
289    dlink_node *ptr = NULL;
290    dlink_node *m = NULL;
291  
# Line 435 | Line 433 | register_local_user(struct Client *clien
433      hash_add_id(source_p);
434    }
435  
438  irc_getnameinfo((struct sockaddr *)&source_p->localClient->ip,
439                  source_p->localClient->ip.ss_len, ipaddr,
440                  HOSTIPLEN, NULL, 0, NI_NUMERICHOST);
441
436    sendto_realops_flags(UMODE_CCONN, L_ALL,
437                         "Client connecting: %s (%s@%s) [%s] {%s} [%s]",
438                         nick, source_p->username, source_p->host,
439                         ConfigFileEntry.hide_spoof_ips && IsIPSpoof(source_p) ?
440 <                       "255.255.255.255" : ipaddr, get_client_class(source_p),
440 >                       "255.255.255.255" : source_p->sockhost,
441 >                       get_client_class(source_p),
442                         source_p->info);
443  
444    sendto_realops_flags(UMODE_CCONN_FULL, L_ALL,
445                         "CLICONN %s %s %s %s %s %s %s 0 %s",
446                         nick, source_p->username, source_p->host,
447                         ConfigFileEntry.hide_spoof_ips && IsIPSpoof(source_p) ?
448 <                       "255.255.255.255" : ipaddr,
448 >                       "255.255.255.255" : source_p->sockhost,
449                         get_client_class(source_p),
450                         ConfigFileEntry.hide_spoof_ips && IsIPSpoof(source_p) ?
451                             "<hidden>" : source_p->client_host,

Diff Legend

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