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

Comparing ircd-hybrid/trunk/modules/m_resv.c (file contents):
Revision 1649 by michael, Sat Nov 10 19:27:13 2012 UTC vs.
Revision 1652 by michael, Tue Nov 13 20:28:53 2012 UTC

# Line 74 | Line 74 | mo_resv(struct Client *client_p, struct
74                           "RESV %s %s :%s",
75                           target_server, resv, reason);
76      /* Allow ON to apply local resv as well if it matches */
77 <    if (!match(target_server, me.name))
77 >    if (match(target_server, me.name))
78        return;
79    }
80    else
# Line 137 | Line 137 | ms_resv(struct Client *client_p, struct
137                       "RESV %s %s :%s",
138                       parv[1], parv[2], parv[3]);
139  
140 <  if (!IsClient(source_p) || !match(parv[1], me.name))
140 >  if (!IsClient(source_p) || match(parv[1], me.name))
141      return;
142  
143    if (HasFlag(source_p, FLAGS_SERVICE) || find_matching_name_conf(CONF_ULINE, source_p->servptr->name,
# Line 171 | Line 171 | mo_unresv(struct Client *client_p, struc
171                         target_server, resv);
172  
173      /* Allow ON to apply local unresv as well if it matches */
174 <    if (!match(target_server, me.name))
174 >    if (match(target_server, me.name))
175        return;
176    }
177    else
# Line 196 | Line 196 | ms_unresv(struct Client *client_p, struc
196                       "UNRESV %s %s",
197                       parv[1], parv[2]);
198  
199 <  if (!IsClient(source_p) || !match(parv[1], me.name))
199 >  if (!IsClient(source_p) || match(parv[1], me.name))
200      return;
201  
202    if (HasFlag(source_p, FLAGS_SERVICE) || find_matching_name_conf(CONF_ULINE, source_p->servptr->name,

Diff Legend

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