+ if (strcasecmp(Req->argv[1], "cloakhost") == 0) {
+ Client_UpdateCloakedHostname(target, prefix, Req->argv[2]);
+ if (Client_Conn(target) > NONE && Client_HasMode(target, 'x'))
+ IRC_WriteStrClientPrefix(target, prefix,
+ RPL_HOSTHIDDEN_MSG, Client_ID(target),
+ Client_HostnameDisplayed(target));
+ /* The Client_UpdateCloakedHostname() function already
+ * forwarded the METADATA command, don't do it twice: */
+ return CONNECTED;
+ }
+ else if (*Req->argv[2] && strcasecmp(Req->argv[1], "host") == 0) {