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

Comparing ircd-hybrid-7.2/modules/m_knock.c (file contents):
Revision 886 by michael, Wed Oct 31 18:45:58 2007 UTC vs.
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC

# Line 23 | Line 23
23   */
24  
25   #include "stdinc.h"
26 < #include "tools.h"
26 > #include "list.h"
27   #include "handlers.h"
28   #include "channel.h"
29   #include "channel_mode.h"
# Line 40 | Line 40
40   #include "modules.h"
41   #include "s_serv.h"
42   #include "s_user.h"
43 #include "common.h"
43  
44   static void m_knock(struct Client *, struct Client *, int, char *[]);
45  
# Line 170 | Line 169 | m_knock(struct Client *client_p, struct
169    chptr->last_knock = CurrentTime;
170  
171    if (ConfigChannel.use_knock)
172 <    sendto_channel_local(CHFL_CHANOP, NO, chptr, form_str(RPL_KNOCK),
172 >    sendto_channel_local(CHFL_CHANOP, 0, chptr, form_str(RPL_KNOCK),
173                           me.name, chptr->chname, chptr->chname,
174                           source_p->name, source_p->username,
175                           source_p->host);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines