summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 22:58:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 22:58:24 +0000
commitab01aaeeee9aed655df2eec2522072233fe3aa57 (patch)
treeba5f3d6f130e6363491afe8d2d1808c8033a8878 /src/mode.cpp
parenta551203100f50ff4767d516566f38277bd268110 (diff)
Changed to use __single_client_alloc, faster on most systems in a single thread
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 9af80bb00..285ec3e89 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include "inspircd.h"
#include "inspircd_io.h"
#include "inspircd_util.h"
@@ -45,12 +47,10 @@
#include "inspstring.h"
#include "helperfuncs.h"
-using namespace std;
-
extern int MODCOUNT;
-extern std::vector<Module*> modules;
-extern std::vector<ircd_module*> factory;
-extern std::vector<std::string> module_names;
+extern std::vector<Module*, __single_client_alloc> modules;
+extern std::vector<ircd_module*, __single_client_alloc> factory;
+extern std::vector<std::string, __single_client_alloc> module_names;
extern int LogLevel;