summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 3418d6ede..dc440708e 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -14,6 +14,9 @@
* ---------------------------------------------------
*/
+#ifndef __INSPIRCD_H__
+#define __INSPIRCD_H__
+
#include "inspircd_config.h"
#include <string>
#include <stdio.h>
@@ -75,6 +78,7 @@ typedef std::deque<std::string> file_cache;
class serverstats
{
+ public:
int statsAccept;
int statsRefused;
int statsUnknown;
@@ -156,3 +160,5 @@ void* dns_task(void* arg);
void process_buffer(const char* cmdbuf,userrec *user);
void FullConnectUser(userrec* user);
chanrec* ForceChan(chanrec* Ptr,ucrec &a,userrec* user, int created);
+
+#endif