summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 03:03:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 03:03:23 +0000
commiteb4229deed0281ae566ef7e55a144e5d3183a4b2 (patch)
treeb99c2b78da26b68e04dcccba5bc6efb55706d237 /src/modules
parent84b6d82413c71c845c97279ea9150089cd9f8b5a (diff)
Moved a ton of functions into helperfuncs.h to speed up recompiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_filter_pcre.cpp1
-rw-r--r--src/modules/extra/m_sql.cpp1
-rw-r--r--src/modules/extra/m_sqlauth.cpp1
-rw-r--r--src/modules/extra/m_sqloper.cpp1
-rw-r--r--src/modules/m_blockcolor.cpp1
-rw-r--r--src/modules/m_censor.cpp1
-rw-r--r--src/modules/m_chanfilter.cpp1
-rw-r--r--src/modules/m_chanprotect.cpp1
-rw-r--r--src/modules/m_filter.cpp1
-rw-r--r--src/modules/m_helpop.cpp1
-rw-r--r--src/modules/m_knock.cpp1
-rw-r--r--src/modules/m_nicklock.cpp1
-rw-r--r--src/modules/m_noctcp.cpp1
-rw-r--r--src/modules/m_noinvite.cpp1
-rw-r--r--src/modules/m_nokicks.cpp1
-rw-r--r--src/modules/m_nonicks.cpp1
-rw-r--r--src/modules/m_nonotice.cpp1
-rw-r--r--src/modules/m_operchans.cpp1
-rw-r--r--src/modules/m_operjoin.cpp1
-rw-r--r--src/modules/m_operlevels.cpp1
-rw-r--r--src/modules/m_opermd5.cpp1
-rw-r--r--src/modules/m_opermotd.cpp1
-rw-r--r--src/modules/m_override.cpp1
-rw-r--r--src/modules/m_park.cpp1
-rw-r--r--src/modules/m_randquote.cpp1
-rw-r--r--src/modules/m_redirect.cpp1
-rw-r--r--src/modules/m_restrictchans.cpp1
-rw-r--r--src/modules/m_restrictmsg.cpp1
-rw-r--r--src/modules/m_sethost.cpp1
-rw-r--r--src/modules/m_setidle.cpp1
-rw-r--r--src/modules/m_setname.cpp1
-rw-r--r--src/modules/m_showwhois.cpp1
-rw-r--r--src/modules/m_silence.cpp1
-rw-r--r--src/modules/m_timedbans.cpp1
-rw-r--r--src/modules/m_userip.cpp1
35 files changed, 35 insertions, 0 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index 3e2d10b6c..559bb686a 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -24,6 +24,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: m_filter with regexps */
/* $CompileFlags: -I/usr/local/include -L/usr/local/lib -lpcre */
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp
index 0ba80278d..28d24bc48 100644
--- a/src/modules/extra/m_sql.cpp
+++ b/src/modules/extra/m_sql.cpp
@@ -21,6 +21,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
#include "m_sql.h"
/* $ModDesc: SQL Service Provider module for all other m_sql* modules */
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index 157fcf11a..46721e098 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -30,6 +30,7 @@
#include "channels.h"
#include "modules.h"
#include "inspircd.h"
+#include "helperfuncs.h"
#include "m_sql.h"
/* $ModDesc: Allow/Deny connections based upon an arbitary SQL table */
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 881e04877..6ba379fac 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -30,6 +30,7 @@
#include "channels.h"
#include "modules.h"
#include "inspircd.h"
+#include "helperfuncs.h"
#include "m_sql.h"
/* $ModDesc: Allows storage of oper credentials in an SQL table */
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index 5f30b18b5..6ba86e595 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style channel mode +c */
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 2d81b98f6..64a01b8fc 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides user and channel +G mode */
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 44027b1fe..c8896cf0a 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -20,6 +20,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides channel-specific censor lists (like mode +G but varies from channel to channel) */
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 035658f8e..66457b928 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides channel modes +a and +q */
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index 054d77963..59a82d610 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -23,6 +23,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: An enhanced version of the unreal m_filter.so used by chatspike.net */
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 7287204bb..bae4e73ae 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -17,6 +17,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
// Global Vars
ConfigReader *helpop;
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index e1654c181..9553b619e 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for /KNOCK and mode +K */
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index f6a5749e4..b96105af7 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit */
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 11c4778ab..a3c82bd15 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style channel mode +c */
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 30f313a92..868af242b 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style channel mode +V */
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index 121bb63eb..df2f98c84 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style channel mode +Q */
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index a0a6dabc8..582a87626 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style GLOBOPS and umode +g */
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index 38b8292ea..85aa9b913 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style channel mode +T */
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index 2c6d9276d..236c277f9 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for oper-only chans via the +O channel mode */
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index 02a42b977..5a4eebccf 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -3,6 +3,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Forces opers to join a specified channel on oper-up */
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index ad9331a26..271c3cb45 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -2,6 +2,7 @@
#include "channels.h"
#include "modules.h"
#include <string>
+#include "helperfuncs.h"
/* $ModDesc: Gives each oper type a 'level', cannot kill opers 'above' your level. */
diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp
index 661ed3ef5..d7951d153 100644
--- a/src/modules/m_opermd5.cpp
+++ b/src/modules/m_opermd5.cpp
@@ -20,6 +20,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* The four core functions - F1 is optimized somewhat */
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index aa8627090..d52bb0162 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -4,6 +4,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Shows a message to opers after oper-up, adds /opermotd */
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 916acb36e..80066bb0f 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for unreal-style oper-override */
diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp
index 123a4dbe2..1cf69b46f 100644
--- a/src/modules/m_park.cpp
+++ b/src/modules/m_park.cpp
@@ -19,6 +19,7 @@
#include <vector>
#include "users.h"
#include "channels.h"
+#include "helperfuncs.h"
#include "modules.h"
/* $ModDesc: Provides support for user parking/unparking */
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 98160bda0..5cd8a8572 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -20,6 +20,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
Server *Srv = NULL;
FileReader *quotes = NULL;
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index 77011c72f..f5df15945 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides channel mode +L (limit redirection) */
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index 704e41851..a56df6177 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -18,6 +18,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Only opers may create new channels if this module is loaded */
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index 68c842ae8..5d6453555 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -20,6 +20,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Forbids users from messaging each other. Users may still message opers and opers may message other opers. */
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index f82cec034..0afffd6c1 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for the SETHOST command */
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp
index e255d3fe2..208635009 100644
--- a/src/modules/m_setidle.cpp
+++ b/src/modules/m_setidle.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Allows opers to set their idle time */
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 80352a629..8a481a3b4 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for the SETNAME command */
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index 01563b44f..6d3220658 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -3,6 +3,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Allows opers to set +W to see when a user uses WHOIS on them */
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index a67fb41ba..e38638cd0 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -20,6 +20,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for the /SILENCE command */
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index 8082831f0..2eab8b872 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -26,6 +26,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
Server *Srv;
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index be0f07699..a077625c8 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -19,6 +19,7 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
+#include "helperfuncs.h"
/* $ModDesc: Provides support for USERIP command */