*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Client_ID(Client), Req->command);
prefix = Client_Search(Req->prefix);
if (!prefix)
Client_ID(Client), Req->command);
prefix = Client_Search(Req->prefix);
if (!prefix)
Client_ID(Client), Req->prefix);
target = Client_Search(Req->argv[0]);
if (!target)
Client_ID(Client), Req->prefix);
target = Client_Search(Req->argv[0]);
if (!target)
Client_ID(Client), Req->argv[0]);
LogDebug("Got \"METADATA\" command from \"%s\" for client \"%s\": \"%s=%s\".",
Client_ID(Client), Req->argv[0]);
LogDebug("Got \"METADATA\" command from \"%s\" for client \"%s\": \"%s=%s\".",
Req->argv[1], Req->argv[2]);
/* Mark client: it has receiveda a METADATA command */
Req->argv[1], Req->argv[2]);
/* Mark client: it has receiveda a METADATA command */
snprintf(new_flags, sizeof new_flags, "%sM",
Client_Flags(target));
Client_SetFlags(target, new_flags);
snprintf(new_flags, sizeof new_flags, "%sM",
Client_Flags(target));
Client_SetFlags(target, new_flags);