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

Comparing ircd-hybrid-8/modules/m_invite.c (file contents):
Revision 1178 by michael, Mon Aug 15 08:11:31 2011 UTC vs.
Revision 1230 by michael, Thu Sep 22 19:41:19 2011 UTC

# Line 40 | Line 40
40   #include "modules.h"
41   #include "packet.h"
42  
43 static void m_invite(struct Client *, struct Client *, int, char *[]);
44
45 struct Message invite_msgtab = {
46  "INVITE", 0, 0, 3, MAXPARA, MFLG_SLOW, 0,
47  { m_unregistered, m_invite, m_invite, m_ignore, m_invite, m_ignore }
48 };
49
50 void
51 _modinit(void)
52 {
53  mod_add_cmd(&invite_msgtab);
54 }
55
56 void
57 _moddeinit(void)
58 {
59  mod_del_cmd(&invite_msgtab);
60 }
61
62 const char *_version = "$Revision$";
43  
44   /*
45   ** m_invite
# Line 189 | Line 169 | m_invite(struct Client *client_p, struct
169                 ID_or_name(target_p, target_p->from),
170                 chptr->chname, (unsigned long)chptr->channelts);
171   }
172 +
173 + static struct Message invite_msgtab = {
174 +  "INVITE", 0, 0, 3, MAXPARA, MFLG_SLOW, 0,
175 +  { m_unregistered, m_invite, m_invite, m_ignore, m_invite, m_ignore }
176 + };
177 +
178 + static void
179 + module_init(void)
180 + {
181 +  mod_add_cmd(&invite_msgtab);
182 + }
183 +
184 + static void
185 + module_exit(void)
186 + {
187 +  mod_del_cmd(&invite_msgtab);
188 + }
189 +
190 + struct module module_entry = {
191 +  .node    = { NULL, NULL, NULL },
192 +  .name    = NULL,
193 +  .version = "$Revision$",
194 +  .handle  = NULL,
195 +  .modinit = module_init,
196 +  .modexit = module_exit,
197 +  .flags   = 0
198 + };

Diff Legend

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