42 |
|
#include "memory.h" |
43 |
|
#include "mempool.h" |
44 |
|
#include "s_misc.h" |
45 |
+ |
#include "resv.h" |
46 |
|
|
47 |
|
struct config_channel_entry ConfigChannel; |
48 |
|
dlink_list global_channel_list = { NULL, NULL, 0 }; |
719 |
|
|
720 |
|
if (MyClient(source_p) && !IsExemptResv(source_p)) |
721 |
|
if (!(HasUMode(source_p, UMODE_OPER) && ConfigFileEntry.oper_pass_resv)) |
722 |
< |
if (!hash_find_resv(chptr->chname) == ConfigChannel.restrict_channels) |
722 |
> |
if (!match_find_resv(chptr->chname) == ConfigChannel.restrict_channels) |
723 |
|
return ERR_CANNOTSENDTOCHAN; |
724 |
|
|
725 |
|
if (ms != NULL || (ms = find_channel_link(source_p, chptr))) |