| # | 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 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |