summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ctables.h3
-rw-r--r--include/typedefs.h1
-rw-r--r--src/channels.cpp2
3 files changed, 5 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h
index 5926f3a2a..3666718b6 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -20,6 +20,9 @@
#include "inspircd_config.h"
#include "inspircd.h"
#include "base.h"
+#include "typedefs.h"
+
+typedef void (handlerfunc) (char**, int, userrec*);
/** A structure that defines a command
*/
diff --git a/include/typedefs.h b/include/typedefs.h
index 3b11df2da..0a625b1d2 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -25,7 +25,6 @@ typedef std::deque<command_t> command_table;
typedef std::vector<std::string> servernamelist;
typedef std::vector<ExtMode> ExtModeList;
typedef ExtModeList::iterator ExtModeListIter;
-typedef void (handlerfunc) (char**, int, userrec*);
typedef std::deque<std::string> file_cache;
#endif
diff --git a/src/channels.cpp b/src/channels.cpp
index 59cfb18bd..f1c01b407 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -73,6 +73,8 @@ using namespace std;
std::vector<ModeParameter> custom_mode_params;
+chanrec* ForceChan(chanrec* Ptr,ucrec &a,userrec* user, int created);
+
chanrec::chanrec()
{
strcpy(name,"");