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

Comparing ircd-hybrid/trunk/src/client.c (file contents):
Revision 2583 by michael, Wed Nov 20 23:01:19 2013 UTC vs.
Revision 2586 by michael, Wed Nov 20 23:09:49 2013 UTC

# Line 512 | Line 512 | find_person(const struct Client *client_
512  
513    if (IsDigit(*name))
514    {
515 <    if ((target_p = hash_find_id(name)) != NULL)
516 <      if (!IsServer(client_p) && !HasFlag(client_p, FLAGS_SERVICE))
517 <        target_p = NULL;
515 >    if (IsServer(client_p) || HasFlag(client_p, FLAGS_SERVICE))
516 >      target_p = hash_find_id(name);
517    }
518    else
519      target_p = hash_find_client(name);

Diff Legend

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