summaryrefslogtreecommitdiff
path: root/src/cmd_zline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_zline.cpp')
-rw-r--r--src/cmd_zline.cpp25
1 files changed, 3 insertions, 22 deletions
diff --git a/src/cmd_zline.cpp b/src/cmd_zline.cpp
index 7ffe5cd73..a040787ba 100644
--- a/src/cmd_zline.cpp
+++ b/src/cmd_zline.cpp
@@ -14,37 +14,20 @@
* ---------------------------------------------------
*/
-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"
extern ServerConfig* Config;
extern int MODCOUNT;
-extern std::vector<Module*> modules;
-extern std::vector<ircd_module*> factory;
+extern ModuleList modules;
+extern FactoryList factory;
void cmd_zline::Handle (char **parameters, int pcnt, userrec *user)
{
@@ -82,5 +65,3 @@ void cmd_zline::Handle (char **parameters, int pcnt, userrec *user)
}
}
}
-
-