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" |
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 |
|
|
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); |