summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 17:44:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 17:44:38 +0000
commit7c1488c4ebbb4fd0cb209a2b1939037578d8a69d (patch)
tree0fe8bb14c9fdab83241ede8292c083a52f21ce67
parentf99478acd5f536c234c6a5ae26d5e51e734e9494 (diff)
Tidying of stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2427 e03df62e-2008-0410-955e-edbf42e46eb7
-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,"");