ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_server.c
(Generate patch)

Comparing ircd-hybrid-8/modules/core/m_server.c (file contents):
Revision 1527 by michael, Fri Sep 14 17:58:08 2012 UTC vs.
Revision 1528 by michael, Fri Sep 14 18:20:34 2012 UTC

# Line 286 | Line 286 | ms_server(struct Client *client_p, struc
286     */
287    DLINK_FOREACH(ptr, aconf->leaf_list.head)
288      if (match(ptr->data, name))
289 <      ++llined;
289 >      llined = 1, break;
290  
291    DLINK_FOREACH(ptr, aconf->hub_list.head)
292      if (match(ptr->data, name))
293 <      ++hlined;
293 >      hlined = 1, break;
294  
295    /* Ok, this way this works is
296     *
# Line 477 | Line 477 | ms_sid(struct Client *client_p, struct C
477     */
478    DLINK_FOREACH(ptr, aconf->leaf_list.head)
479      if (match(ptr->data, parv[1]))
480 <      ++llined;
480 >      llined = 1, break;
481  
482    DLINK_FOREACH(ptr, aconf->hub_list.head)
483      if (match(ptr->data, parv[1]))
484 <      ++hlined;
484 >      hlined = 1, break;
485  
486  
487    /* Ok, this way this works is

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines