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

Comparing ircd-hybrid-8/src/s_serv.c (file contents):
Revision 1203 by michael, Tue Aug 23 20:06:08 2011 UTC vs.
Revision 1219 by michael, Sun Sep 18 09:02:38 2011 UTC

# Line 857 | Line 857 | sendnick_TS(struct Client *client_p, str
857    if (!IsClient(target_p))
858      return;
859  
860 <  send_umode(NULL, target_p, 0, IsOperHiddenAdmin(target_p) ?
860 >  send_umode(NULL, target_p, 0, HasOFlag(target_p, OPER_FLAG_HIDDEN_ADMIN) ?
861      SEND_UMODES & ~UMODE_ADMIN : SEND_UMODES, ubuf);
862  
863    if (ubuf[0] == '\0')
# Line 1125 | Line 1125 | server_estab(struct Client *client_p)
1125  
1126  
1127    if (find_matching_name_conf(SERVICE_TYPE, client_p->name, NULL, NULL, 0))
1128 <    SetService(client_p);
1128 >    AddFlag(client_p, FLAGS_SERVICE);
1129  
1130    /* Show the real host/IP to admins */
1131    sendto_realops_flags(UMODE_ALL, L_ADMIN,
# Line 1454 | Line 1454 | burst_all(struct Client *client_p)
1454    {
1455      struct Client *target_p = ptr->data;
1456  
1457 <    if (!IsBursted(target_p) && target_p->from != client_p)
1457 >    if (!HasFlag(target_p, FLAGS_BURSTED) && target_p->from != client_p)
1458        sendnick_TS(client_p, target_p);
1459      
1460 <    ClearBursted(target_p);
1460 >    DelFlag(target_p, FLAGS_BURSTED);
1461    }
1462  
1463    /* We send the time we started the burst, and let the remote host determine an EOB time,
# Line 1540 | Line 1540 | burst_members(struct Client *client_p, s
1540      ms       = ptr->data;
1541      target_p = ms->client_p;
1542  
1543 <    if (!IsBursted(target_p))
1543 >    if (!HasFlag(target_p, FLAGS_BURSTED))
1544      {
1545 <      SetBursted(target_p);
1545 >      AddFlag(target_p, FLAGS_BURSTED);
1546  
1547        if (target_p->from != client_p)
1548          sendnick_TS(client_p, target_p);

Diff Legend

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