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

Comparing ircd-hybrid/trunk/modules/m_stats.c (file contents):
Revision 3246 by michael, Sun Mar 30 17:37:13 2014 UTC vs.
Revision 3283 by michael, Tue Apr 8 16:39:50 2014 UTC

# Line 1528 | Line 1528 | static const struct StatsStruct
1528   static void
1529   do_stats(struct Client *source_p, int parc, char *parv[])
1530   {
1531  const struct StatsStruct *tab = stats_cmd_table;
1531    const char statchar = *parv[1];
1532  
1533    if (statchar == '\0')
# Line 1537 | Line 1536 | do_stats(struct Client *source_p, int pa
1536      return;
1537    }
1538  
1539 <  for (; tab->handler; ++tab)
1539 >  for (const struct StatsStruct *tab = stats_cmd_table; tab->handler; ++tab)
1540    {
1541      if (tab->letter == statchar)
1542      {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines