* IRC encoding commands
*/
-#include "imp.h"
+#ifdef ICONV
+
#include <assert.h>
#include <string.h>
#include "parse.h"
#include "tool.h"
-#include "exp.h"
-#include "irc-encoding.h"
-
-#ifdef ICONV
-
/**
* Handler for the IRC+ "CHARCONV" command.
*
assert (Client != NULL);
assert (Req != NULL);
- if (Req->argc != 1)
- return IRC_WriteErrClient(Client, ERR_NEEDMOREPARAMS_MSG,
- Client_ID(Client), Req->command);
-
strlcpy(encoding, Req->argv[0], sizeof(encoding));
ngt_UpperStr(encoding);