summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictmsg.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 19:13:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 19:13:39 +0000
commit76d7e8a0684b38a82e6c05ebd7538b69660e1bef (patch)
treeac874179a3e0268abd949b5220af515bdd6140b4 /src/modules/m_restrictmsg.cpp
parent11554b8626d8b421cc9cf2c6f6cc3fe2467e0441 (diff)
Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>.
This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
-rw-r--r--src/modules/m_restrictmsg.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index e04366b59..0f4379030 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -11,15 +11,11 @@
* ---------------------------------------------------
*/
-#include <stdio.h>
-#include <string>
-#include <vector>
+#include "inspircd.h"
#include "users.h"
#include "channels.h"
#include "modules.h"
-#include "inspircd.h"
-
/* $ModDesc: Forbids users from messaging each other. Users may still message opers and opers may message other opers. */