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

Comparing ircd-hybrid/modules/m_pong.c (file contents):
Revision 33 by knight, Sun Oct 2 20:50:00 2005 UTC vs.
Revision 442 by adx, Sat Feb 11 23:14:21 2006 UTC

# Line 25 | Line 25
25   #include "stdinc.h"
26   #include "ircd.h"
27   #include "handlers.h"
28 + #include "s_conf.h"
29   #include "s_user.h"
30   #include "client.h"
31   #include "hash.h"       /* for find_client() */
32   #include "numeric.h"
33   #include "s_conf.h"
34   #include "send.h"
34 #include "irc_string.h"
35   #include "msg.h"
36   #include "parse.h"
37   #include "modules.h"
# Line 44 | Line 44 | struct Message pong_msgtab = {
44    {mr_pong, m_ignore, ms_pong, m_ignore, m_ignore, m_ignore}
45   };
46  
47 < #ifndef STATIC_MODULES
48 < void
49 < _modinit(void)
47 > INIT_MODULE(m_pong, "$Revision$")
48   {
49    mod_add_cmd(&pong_msgtab);
50   }
51  
52 < void
55 < _moddeinit(void)
52 > CLEANUP_MODULE
53   {
54    mod_del_cmd(&pong_msgtab);
55   }
56  
60 const char *_version = "$Revision$";
61 #endif
62
57   static void
58   ms_pong(struct Client *client_p, struct Client *source_p,
59          int parc, char *parv[])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines