# | Line 36 | Line 36 | dlink_list WHOWASHASH[HASHSIZE]; | |
---|---|---|
36 | ||
37 | ||
38 | void | |
39 | + | whowas_init(void) |
40 | + | { |
41 | + | unsigned int idx; |
42 | + | |
43 | + | for (idx = 0; idx < NICKNAMEHISTORYLENGTH; ++idx) |
44 | + | WHOWAS[idx].hashv = -1; |
45 | + | } |
46 | + | |
47 | + | void |
48 | add_history(struct Client *client_p, const int online) | |
49 | { | |
50 | static unsigned int whowas_next = 0; | |
# | Line 131 | Line 140 | count_whowas_memory(unsigned int *wwu, u | |
140 | *wwu = u; | |
141 | *wwum = um; | |
142 | } | |
134 | – | |
135 | – | void |
136 | – | whowas_init(void) |
137 | – | { |
138 | – | unsigned int idx; |
139 | – | |
140 | – | for (idx = 0; idx < NICKNAMEHISTORYLENGTH; ++idx) |
141 | – | WHOWAS[idx].hashv = -1; |
142 | – | } |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |