]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_eline.cpp
XHTML 1.1 spec validation and charset
[user/henk/code/inspircd.git] / src / cmd_eline.cpp
index b7b49472cd67e06aabe515e42a67df2517fef780..cf5e13414cae94e4f3fdad49d3013903682326b1 100644 (file)
  * ---------------------------------------------------
  */
 
-using namespace std;
-
-#include "inspircd_config.h"
-#include "inspircd.h"
-#include "inspircd_io.h"
-#include <time.h>
 #include <string>
-#include <map>
-#include <sstream>
 #include <vector>
-#include <deque>
+#include "configreader.h"
 #include "users.h"
-#include "ctables.h"
-#include "globals.h"
 #include "modules.h"
-#include "dynamic.h"
-#include "wildcard.h"
-#include "message.h"
 #include "commands.h"
 #include "xline.h"
-#include "inspstring.h"
 #include "helperfuncs.h"
-#include "hashcomp.h"
-#include "typedefs.h"
-#include "command_parse.h"
-#include "cmd_eline.h"
+#include "commands/cmd_eline.h"
 
 extern int MODCOUNT;
 extern ServerConfig* Config;
@@ -58,7 +41,7 @@ void cmd_eline::Handle (char **parameters, int pcnt, userrec *user)
 
                if (!duration(parameters[1]))
                {
-                       WriteOpers("*** %s added permenant E-line for %s.",user->nick,parameters[0]);
+                       WriteOpers("*** %s added permanent E-line for %s.",user->nick,parameters[0]);
                }
                else
                {
@@ -80,5 +63,3 @@ void cmd_eline::Handle (char **parameters, int pcnt, userrec *user)
 
        // no need to apply the lines for an eline
 }
-
-