ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/src/client.c
(Generate patch)

Comparing branches/newio/src/client.c (file contents):
Revision 2586 by michael, Wed Nov 20 23:01:32 2013 UTC vs.
Revision 2587 by michael, Wed Nov 20 23:10:04 2013 UTC

# Line 635 | Line 635 | find_person(const struct Client *client_
635  
636    if (IsDigit(*name))
637    {
638 <    if ((target_p = hash_find_id(name)) != NULL)
639 <      if (!IsServer(client_p) && !HasFlag(client_p, FLAGS_SERVICE))
640 <        target_p = NULL;
638 >    if (IsServer(client_p) || HasFlag(client_p, FLAGS_SERVICE))
639 >      target_p = hash_find_id(name);
640    }
641    else
642      target_p = hash_find_client(name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines