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

Comparing ircd-hybrid/trunk/src/client.c (file contents):
Revision 6313 by michael, Sat Aug 1 18:03:39 2015 UTC vs.
Revision 6318 by michael, Wed Aug 5 16:04:43 2015 UTC

# Line 247 | Line 247 | check_pings_list(dlink_list *list)
247             */
248            if (IsServer(client_p) || IsHandshake(client_p))
249            {
250 <            sendto_realops_flags(UMODE_ALL, L_ADMIN, SEND_NOTICE,
250 >            sendto_realops_flags(UMODE_SERVNOTICE, L_ADMIN, SEND_NOTICE,
251                                   "No response from %s, closing link",
252                                   get_client_name(client_p, HIDE_IP));
253 <            sendto_realops_flags(UMODE_ALL, L_OPER, SEND_NOTICE,
253 >            sendto_realops_flags(UMODE_SERVNOTICE, L_OPER, SEND_NOTICE,
254                                   "No response from %s, closing link",
255                                   get_client_name(client_p, MASK_IP));
256              ilog(LOG_TYPE_IRCD, "No response from %s, closing link",
# Line 400 | Line 400 | conf_try_ban(struct Client *client_p, st
400      case CONF_KLINE:
401        if (HasFlag(client_p, FLAGS_EXEMPTKLINE))
402        {
403 <        sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
403 >        sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
404                               "KLINE over-ruled for %s, client is kline_exempt",
405                               get_client_name(client_p, HIDE_IP));
406          return;
# Line 417 | Line 417 | conf_try_ban(struct Client *client_p, st
417      case CONF_XLINE:
418        if (HasFlag(client_p, FLAGS_EXEMPTXLINE))
419        {
420 <        sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
420 >        sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
421                               "XLINE over-ruled for %s, client is xline_exempt",
422                               get_client_name(client_p, HIDE_IP));
423          return;
# Line 431 | Line 431 | conf_try_ban(struct Client *client_p, st
431        break;
432    }
433  
434 <  sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%c-line active for %s",
434 >  sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE, "%c-line active for %s",
435                         ban_type, get_client_name(client_p, HIDE_IP));
436  
437    if (IsClient(client_p))
# Line 832 | Line 832 | exit_client(struct Client *source_p, con
832      if (MyConnect(source_p))
833      {
834        int connected = CurrentTime - source_p->connection->firsttime;
835 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
835 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
836                             "%s was connected for %d day%s, %2d:%02d:%02d. %llu/%llu sendK/recvK.",
837                             source_p->name, connected/86400, (connected/86400 == 1) ? "" : "s",
838                             (connected % 86400) / 3600, (connected % 3600) / 60, connected % 60,
# Line 909 | Line 909 | dead_link_on_read(struct Client *client_
909      if (error == 0)
910      {
911        /* Admins get the real IP */
912 <      sendto_realops_flags(UMODE_ALL, L_ADMIN, SEND_NOTICE,
912 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ADMIN, SEND_NOTICE,
913                             "Server %s closed the connection",
914                             get_client_name(client_p, SHOW_IP));
915  
916        /* Opers get a masked IP */
917 <      sendto_realops_flags(UMODE_ALL, L_OPER, SEND_NOTICE,
917 >      sendto_realops_flags(UMODE_SERVNOTICE, L_OPER, SEND_NOTICE,
918                             "Server %s closed the connection",
919                             get_client_name(client_p, MASK_IP));
920  
# Line 929 | Line 929 | dead_link_on_read(struct Client *client_
929                     get_client_name(client_p, MASK_IP), current_error);
930      }
931  
932 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
932 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
933                           "%s was connected for %d day%s, %2d:%02d:%02d",
934                           client_p->name, connected/86400,
935                           (connected/86400 == 1) ? "" : "s",
# Line 961 | Line 961 | exit_aborted_clients(void)
961  
962      if (target_p == NULL)
963      {
964 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
964 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
965                             "Warning: null client on abort_list!");
966        dlinkDelete(ptr, &abort_list);
967        free_dlink_node(ptr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines