summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 20:55:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 20:55:43 +0000
commit18ff73f52b97764a65764209511ed80dabf6f8bb (patch)
tree0430cd2028b4ef0477b6d301f22f4b2b930a46a3 /src
parent3f3743c9d313d78ea99c24234a18fa3360a6fc1f (diff)
Bloody 'safe stl' warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7120 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_censor.cpp3
-rw-r--r--src/modules/m_chanfilter.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index fc2c55a96..37c23566d 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -11,6 +11,9 @@
* ---------------------------------------------------
*/
+#define _CRT_SECURE_NO_DEPRECATE
+#define _SCL_SECURE_NO_DEPRECATE
+
#include "inspircd.h"
#include "users.h"
#include "channels.h"
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 901494b95..f7cb81489 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -11,6 +11,9 @@
* ---------------------------------------------------
*/
+#define _CRT_SECURE_NO_DEPRECATE
+#define _SCL_SECURE_NO_DEPRECATE
+
#include "inspircd.h"
#include "users.h"
#include "channels.h"