summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/channels.h2
-rw-r--r--src/channels.cpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 7962bc34b..dac671376 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -30,6 +30,8 @@
#define CM_SECRET 16
#define CM_PRIVATE 32
+class userrec;
+
/** Holds an entry for a ban list, exemption list, or invite list.
* This class contains a single element in a channel list, such as a banlist.
*/
diff --git a/src/channels.cpp b/src/channels.cpp
index 38e90f286..59cfb18bd 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -2,7 +2,7 @@
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.
* E-mail:
* <brain@chatspike.net>
* <Craig@chatspike.net>
@@ -40,12 +40,14 @@ using namespace std;
#include "globals.h"
#include "modules.h"
#include "dynamic.h"
+#include "commands.h"
#include "wildcard.h"
#include "message.h"
#include "mode.h"
#include "xline.h"
#include "inspstring.h"
#include "helperfuncs.h"
+#include "typedefs.h"
#ifdef GCC3
#define nspace __gnu_cxx
@@ -65,6 +67,7 @@ extern std::vector<std::string> module_names;
extern int boundPortCount;
extern std::stringstream config_f;
extern time_t TIME;
+extern chan_hash chanlist;
using namespace std;