summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_filter_pcre.cpp2
-rw-r--r--src/modules/extra/m_sql.cpp1
-rw-r--r--src/modules/extra/m_sql.h2
-rw-r--r--src/modules/extra/m_sqlauth.cpp2
-rw-r--r--src/modules/extra/m_sqllog.cpp2
-rw-r--r--src/modules/extra/m_sqloper.cpp2
-rw-r--r--src/modules/m_alias.cpp2
-rw-r--r--src/modules/m_antibottler.cpp1
-rw-r--r--src/modules/m_blockcolor.cpp2
-rw-r--r--src/modules/m_botmode.cpp2
-rw-r--r--src/modules/m_censor.cpp2
-rw-r--r--src/modules/m_chanfilter.cpp2
-rw-r--r--src/modules/m_chanprotect.cpp2
-rw-r--r--src/modules/m_chghost.cpp2
-rw-r--r--src/modules/m_cloaking.cpp2
-rw-r--r--src/modules/m_conn_lusers.cpp2
-rw-r--r--src/modules/m_filter.cpp2
-rw-r--r--src/modules/m_foobar.cpp2
-rw-r--r--src/modules/m_globops.cpp2
-rw-r--r--src/modules/m_helpop.cpp2
-rw-r--r--src/modules/m_hostchange.cpp2
-rw-r--r--src/modules/m_ident.cpp2
-rw-r--r--src/modules/m_knock.cpp2
-rw-r--r--src/modules/m_nicklock.cpp2
-rw-r--r--src/modules/m_noctcp.cpp2
-rw-r--r--src/modules/m_noinvite.cpp2
-rw-r--r--src/modules/m_nokicks.cpp2
-rw-r--r--src/modules/m_nonicks.cpp2
-rw-r--r--src/modules/m_nonotice.cpp2
-rw-r--r--src/modules/m_operchans.cpp2
-rw-r--r--src/modules/m_operjoin.cpp2
-rw-r--r--src/modules/m_operlevels.cpp2
-rw-r--r--src/modules/m_opermd5.cpp2
-rw-r--r--src/modules/m_opermotd.cpp2
-rw-r--r--src/modules/m_override.cpp2
-rw-r--r--src/modules/m_park.cpp2
-rw-r--r--src/modules/m_randquote.cpp2
-rw-r--r--src/modules/m_redirect.cpp2
-rw-r--r--src/modules/m_remove.cpp2
-rw-r--r--src/modules/m_restrictchans.cpp2
-rw-r--r--src/modules/m_restrictmsg.cpp2
-rw-r--r--src/modules/m_sajoin.cpp2
-rw-r--r--src/modules/m_samode.cpp2
-rw-r--r--src/modules/m_sanick.cpp2
-rw-r--r--src/modules/m_sapart.cpp2
-rw-r--r--src/modules/m_saquit.cpp2
-rw-r--r--src/modules/m_services.cpp2
-rw-r--r--src/modules/m_sethost.cpp2
-rw-r--r--src/modules/m_setidle.cpp2
-rw-r--r--src/modules/m_setname.cpp2
-rw-r--r--src/modules/m_showwhois.cpp2
-rw-r--r--src/modules/m_silence.cpp2
-rw-r--r--src/modules/m_stripcolor.cpp2
-rw-r--r--src/modules/m_testcommand.cpp2
-rw-r--r--src/modules/m_timedbans.cpp7
-rw-r--r--src/modules/m_userip.cpp2
56 files changed, 110 insertions, 5 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index 559bb686a..2619b7b21 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
// Message and notice filtering using regex patterns
// a module based on the original work done by Craig Edwards in 2003
// for the chatspike network.
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp
index 28d24bc48..d25af102a 100644
--- a/src/modules/extra/m_sql.cpp
+++ b/src/modules/extra/m_sql.cpp
@@ -14,6 +14,7 @@
* ---------------------------------------------------
*/
+using namespace std;
#include <stdio.h>
#include <string>
diff --git a/src/modules/extra/m_sql.h b/src/modules/extra/m_sql.h
index 5110146d9..fd02c456b 100644
--- a/src/modules/extra/m_sql.h
+++ b/src/modules/extra/m_sql.h
@@ -1,6 +1,8 @@
#ifndef __M_SQL_H__
#define __M_SQL_H__
+using namespace std;
+
#include <string>
#include <vector>
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index 46721e098..16274de26 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <stdlib.h>
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp
index 035012650..bffed5dd9 100644
--- a/src/modules/extra/m_sqllog.cpp
+++ b/src/modules/extra/m_sqllog.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <stdlib.h>
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 6ba379fac..51c26a749 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <stdlib.h>
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index c12e367fd..b5f62f584 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include "users.h"
#include "channels.h"
#include "modules.h"
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp
index 3b57d9d09..8351969e9 100644
--- a/src/modules/m_antibottler.cpp
+++ b/src/modules/m_antibottler.cpp
@@ -13,6 +13,7 @@
*
* ---------------------------------------------------
*/
+using namespace std;
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index 6ba86e595..13663cc40 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <sstream>
#include "users.h"
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 69a9495a5..015677536 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 64a01b8fc..697e8f5d4 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index c8896cf0a..1d10bcd08 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <vector>
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 66457b928..6314cca94 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index 32d37f2a0..e1cc5a8cb 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index c6595eb6c..73b09b423 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
// Hostname cloaking (+x mode) module for inspircd.
// version 1.0.0.1 by brain (C. J. Edwards) Mar 2004.
//
diff --git a/src/modules/m_conn_lusers.cpp b/src/modules/m_conn_lusers.cpp
index a16df4570..c0106566a 100644
--- a/src/modules/m_conn_lusers.cpp
+++ b/src/modules/m_conn_lusers.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include "users.h"
#include "channels.h"
#include "modules.h"
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index 59a82d610..9995c1737 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
// Message and notice filtering using glob patterns
// a module based on the original work done by Craig Edwards in 2003
// for the chatspike network.
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index dd6b73afb..81757799c 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include "users.h"
#include "channels.h"
#include "modules.h"
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index 1e37e1fb9..d3714a960 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
// Globops and +g support module by C.J.Edwards
#include <stdio.h>
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index bae4e73ae..bbc64b783 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include "users.h"
#include "channels.h"
#include "modules.h"
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index ffc9d3635..36cd3ea70 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 0e79cf496..6bbc58e97 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <stdlib.h>
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 9553b619e..171e7045a 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 336a008c9..70fbcac62 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index a3c82bd15..72fb4858c 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 868af242b..047af9047 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index df2f98c84..cade4f340 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index 3591b954d..1f44bfef6 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index 85aa9b913..563b94b12 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index 236c277f9..bd3d750bd 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index 5a4eebccf..980fcc651 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -1,5 +1,7 @@
// operjoin module by typobox43
+using namespace std;
+
#include "users.h"
#include "channels.h"
#include "modules.h"
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 271c3cb45..a112040f9 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -1,3 +1,5 @@
+using namespace std;
+
#include "users.h"
#include "channels.h"
#include "modules.h"
diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp
index d7951d153..c2b923929 100644
--- a/src/modules/m_opermd5.cpp
+++ b/src/modules/m_opermd5.cpp
@@ -16,6 +16,8 @@
/* $ModDesc: Allows for MD5 encrypted oper passwords */
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index d52bb0162..ffdb7da90 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -1,5 +1,7 @@
// opermotd module by typobox43
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 80066bb0f..459f99ca9 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp
index 1cf69b46f..28733298f 100644
--- a/src/modules/m_park.cpp
+++ b/src/modules/m_park.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <vector>
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 5cd8a8572..67f4bcb95 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index f5df15945..2433896a8 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 0c9a29a1d..da4fc49d7 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -1,6 +1,8 @@
/* Support for a dancer-style /remove command, an alternative to /kick to try and avoid auto-rejoin-on-kick scripts */
/* Written by Om, 25-03-05 */
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index a56df6177..d06223d4e 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index 5d6453555..d73b4047d 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <vector>
diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp
index f1da3d1ed..038d511f6 100644
--- a/src/modules/m_sajoin.cpp
+++ b/src/modules/m_sajoin.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index 9e96b9ed6..a20cb9ab9 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
/*
* SAMODE module for InspIRCd
* Co authored by Brain and w00t
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp
index 6b874f272..4de8cf55d 100644
--- a/src/modules/m_sanick.cpp
+++ b/src/modules/m_sanick.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp
index 1037ecc14..4c7927a64 100644
--- a/src/modules/m_sapart.cpp
+++ b/src/modules/m_sapart.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index 525e5b716..40c81ccb0 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
/*
* SAQUIT module for InspIRCd
* Author: w00t
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 929c45f90..5b99ea76b 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index 0afffd6c1..c064bbe0b 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp
index 208635009..6b2778e79 100644
--- a/src/modules/m_setidle.cpp
+++ b/src/modules/m_setidle.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 8a481a3b4..2d59cb7b8 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index 6d3220658..b7642a012 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -1,3 +1,5 @@
+using namespace std;
+
// showwhois module by typobox43
#include "users.h"
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 4f851f6a1..c423506a0 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include <vector>
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index 8d8b03cc0..ac9a64555 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index f62858504..964420957 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index c0511838c..884a029b9 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -14,12 +14,9 @@
* ---------------------------------------------------
*/
-/* $ModDesc: Adds timed bans */
+using namespace std;
-/*
- * ToDo:
- * Err... not a lot really.
- */
+/* $ModDesc: Adds timed bans */
#include <stdio.h>
#include <vector>
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index a077625c8..b2421ab43 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <stdio.h>
#include <string>
#include "users.h"