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

Comparing ircd-hybrid/trunk/src/channel.c (file contents):
Revision 1798 by michael, Sun Mar 31 17:09:50 2013 UTC vs.
Revision 1826 by michael, Mon Apr 15 09:09:09 2013 UTC

# Line 42 | Line 42
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 };
# Line 718 | Line 719 | can_send(struct Channel *chptr, struct C
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)))

Diff Legend

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