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

Comparing ircd-hybrid-7.2/src/s_user.c (file contents):
Revision 876 by michael, Wed Oct 24 21:51:21 2007 UTC vs.
Revision 882 by michael, Sun Oct 28 11:58:39 2007 UTC

# Line 1302 | Line 1302 | oper_up(struct Client *source_p)
1302      source_p->umodes |= (UMODE_SERVNOTICE|UMODE_OPERWALL|
1303                           UMODE_WALLOP|UMODE_LOCOPS);
1304  
1305 +  if (!(old & UMODE_INVISIBLE) && IsInvisible(source_p))
1306 +    ++Count.invisi;
1307 +  if ((old & UMODE_INVISIBLE) && !IsInvisible(source_p))
1308 +    --Count.invisi;
1309 +
1310    assert(dlinkFind(&oper_list, source_p) == NULL);
1311    dlinkAdd(source_p, make_dlink_node(), &oper_list);
1312  

Diff Legend

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