# | Line 48 | Line 48 | void | |
---|---|---|
48 | whowas_add_history(struct Client *client_p, const int online) | |
49 | { | |
50 | static unsigned int whowas_next = 0; | |
51 | < | struct Whowas *who = &WHOWAS[whowas_next]; |
51 | > | struct Whowas *const who = &WHOWAS[whowas_next]; |
52 | ||
53 | < | assert(client_p && client_p->servptr); |
53 | > | assert(IsClient(client_p)); |
54 | ||
55 | if (++whowas_next == NICKNAMEHISTORYLENGTH) | |
56 | whowas_next = 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |