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

Comparing ircd-hybrid-7.2/modules/m_whois.c (file contents):
Revision 884 by adx, Fri Jun 9 18:51:22 2006 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 203 | Line 203 | do_whois(struct Client *source_p, int pa
203    {
204      if ((target_p = find_client(nick)) != NULL)
205      {
206      if (IsServer(source_p->from))
207        client_burst_if_needed(source_p->from, target_p);
208
206        if (IsClient(target_p))
207        {
208          whois_person(source_p, target_p);
209          found = 1;
210        }
211      }
215    else if (!ServerInfo.hub && uplink && IsCapable(uplink, CAP_LL))
216    {
217      if (parc > 2)
218        sendto_one(uplink,":%s WHOIS %s :%s",
219                   source_p->name, nick, nick);
220      else
221        sendto_one(uplink,":%s WHOIS %s",
222                   source_p->name, nick);
223      return;
224    }
212    }
213    else /* wilds is true */
214    {
228    /* disallow wild card whois on lazylink leafs for now */
229    if (!ServerInfo.hub && uplink && IsCapable(uplink, CAP_LL))
230      return;
231
215      if (!IsOper(source_p))
216      {
217        if ((last_used + ConfigFileEntry.pace_wait_simple) > CurrentTime)
# Line 299 | Line 282 | global_whois(struct Client *source_p, co
282      found |= single_whois(source_p, target_p);
283    }
284  
285 <  return (found);
285 >  return found;
286   }
287  
288   /* single_whois()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines