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

Comparing ircd-hybrid-7.2/src/s_conf.c (file contents):
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC vs.
Revision 891 by michael, Thu Nov 1 13:44:50 2007 UTC

# Line 38 | Line 38
38   #include "irc_string.h"
39   #include "sprintf_irc.h"
40   #include "s_bsd.h"
41 #include "irc_getnameinfo.h"
41   #include "irc_getaddrinfo.h"
42   #include "ircd.h"
43   #include "list.h"
# Line 857 | Line 856 | check_client(va_list args)
856        break;
857  
858      case NOT_AUTHORIZED:
860    {
861      static char ipaddr[HOSTIPLEN];
859        ServerStats->is_ref++;
860        /* jdc - lists server name & port connections are on */
861        /*       a purely cosmetical change */
865      irc_getnameinfo((struct sockaddr*)&source_p->localClient->ip,
866            source_p->localClient->ip.ss_len, ipaddr, HOSTIPLEN, NULL, 0,
867            NI_NUMERICHOST);
862        sendto_realops_flags(UMODE_UNAUTH, L_ALL,
863                             "Unauthorized client connection from %s [%s] on [%s/%u].",
864                             get_client_name(source_p, SHOW_IP),
865 <                           ipaddr,
865 >                           source_p->sockhost,
866                             source_p->localClient->listener->name,
867                             source_p->localClient->listener->port);
868        ilog(L_INFO,
# Line 891 | Line 885 | check_client(va_list args)
885        else
886          exit_client(source_p, &me, "You are not authorized to use this server");
887        break;
888 <    }
895 <
888 >
889     case BANNED_CLIENT:
890       /*
891        * Don't exit them immediately, play with them a bit.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines