]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-encoding.c
Remove imp.h and exp.h header files
[ngircd-alex.git] / src / ngircd / irc-encoding.c
index 0bbe310a6b29183dd1f803915f9b17de88039ebe..dfc412bc9a107a1a9a682f8dcc4d1db980f8921f 100644 (file)
@@ -16,7 +16,6 @@
  * IRC encoding commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
@@ -28,7 +27,6 @@
 #include "parse.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "irc-encoding.h"
 
 #ifdef ICONV
@@ -48,10 +46,6 @@ IRC_CHARCONV(CLIENT *Client, REQUEST *Req)
        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);