- } else {
- if (silc_dlist_count(clients) > 1) {
- silc_parse_userfqdn(rec->nick, nickname, sizeof(nickname), NULL, 0);
-
- /* Find the correct one. The rec->nick might be a formatted nick
- so this will find the correct one. */
- clients = lclients =
- silc_client_get_clients_local(silc_client, server->conn,
- nickname, rec->nick);
- if (!clients) {
- printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
- "%s: There is no such client", rec->nick);
- goto out;
- }
- }
-
- target = silc_dlist_get(clients);
-
- /* Still check for exact math for nickname, this compares the
- real (formatted) nickname and the nick (maybe formatted) that
- user gave. This is to assure that `nick' does not match
- `nick@host'. */
- if (!silc_utf8_strcasecmp(rec->nick, target->nickname)) {
- printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
- "%s: There is no such client", rec->nick);
- goto out;
- }