* IRC metadata commands
*/
-#include "imp.h"
#include <assert.h>
-#include <string.h>
+#include <strings.h>
#include <stdio.h>
#include "conn-func.h"
#include "channel.h"
-#include "conn-encoding.h"
#include "irc-write.h"
#include "log.h"
#include "messages.h"
#include "parse.h"
-#include "tool.h"
-
-#include "exp.h"
-#include "irc-metadata.h"
/**
* Handler for the IRC+ "METADATA" command.
assert(Client != NULL);
assert(Req != NULL);
- if (Req->argc != 3)
- return IRC_WriteErrClient(Client, ERR_NEEDMOREPARAMS_MSG,
- Client_ID(Client), Req->command);
-
prefix = Client_Search(Req->prefix);
if (!prefix)
return IRC_WriteErrClient(Client, ERR_NOSUCHNICK_MSG,