# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |