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

Comparing ircd-hybrid-7.2/src/client.c (file contents):
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
Revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC

# Line 263 | Line 263 | check_pings_list(dlink_list *list)
263          struct AccessItem *aconf;
264  
265          conf = make_conf_item(KLINE_TYPE);
266 <        aconf = (struct AccessItem *)map_to_conf(conf);
266 >        aconf = map_to_conf(conf);
267  
268          DupString(aconf->host, client_p->host);
269          DupString(aconf->reason, "idle exceeder");
# Line 556 | Line 556 | update_client_exit_stats(struct Client *
556   {
557    if (IsServer(client_p))
558    {
559 <    sendto_realops_flags(UMODE_EXTERNAL, L_ALL,
560 <                         "Server %s split from %s",
561 <                         client_p->name, client_p->servptr->name);
559 >    sendto_realops_flags(UMODE_EXTERNAL, L_ALL, "Server %s split from %s",
560 >                         client_p->name, client_p->servptr->name);
561    }
562    else if (IsClient(client_p))
563    {
564 +    assert(Count.total > 0);
565      --Count.total;
566      if (IsOper(client_p))
567        --Count.oper;
# Line 934 | Line 934 | exit_client(struct Client *source_p, str
934      }
935      else if (IsClient(source_p))
936      {
937 +      assert(Count.local > 0);
938        Count.local--;
939  
940        if (IsOper(source_p))

Diff Legend

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