ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid-7.3/modules/m_stats.c (file contents):
Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC vs.
Revision 1121 by michael, Sun Jan 9 11:03:03 2011 UTC

# Line 62 | Line 62 | struct Message stats_msgtab = {
62    { m_unregistered, m_stats, ms_stats, m_ignore, mo_stats, m_ignore }
63   };
64  
65 #ifndef STATIC_MODULES
65   const char *_version = "$Revision$";
66   static struct Callback *stats_cb;
67  
# Line 90 | Line 89 | _moddeinit(void)
89    mod_del_cmd(&stats_msgtab);
90    uninstall_hook(stats_cb, va_stats);
91   }
93 #endif
92  
93   static char *parse_stats_args(int, char **, int *, int *);
94   static void stats_L(struct Client *, char *, int, int, char);
# Line 263 | Line 261 | m_stats(struct Client *client_p, struct
261                 from, to);
262      return;
263    }
266  else
267    last_used = CurrentTime;
264  
265 < #ifdef STATIC_MODULES
266 <  do_stats(source_p, parc, parv);
271 < #else
265 >  last_used = CurrentTime;
266 >
267    execute_callback(stats_cb, source_p, parc, parv);
273 #endif
268   }
269  
270   /*
# Line 301 | Line 295 | mo_stats(struct Client *client_p, struct
295      to = source_p->name;
296    }
297  
304 #ifdef STATIC_MODULES
305  do_stats(source_p, parc, parv);
306 #else
298    execute_callback(stats_cb, source_p, parc, parv);
308 #endif
299   }
300  
301   /*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines