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

Comparing ircd-hybrid/trunk/src/whowas.c (file contents):
Revision 3235 by michael, Sat Mar 29 19:34:16 2014 UTC vs.
Revision 3273 by michael, Sun Apr 6 11:37:36 2014 UTC

# 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;

Diff Legend

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