]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspsocket.h
New mode stuff. Note, the framework is now here so that every mode handler can state...
[user/henk/code/inspircd.git] / include / inspsocket.h
index 326361118c238c8fa1a74d21b568681128e7e661..d33cde5e82752229e30a18afde7ffff7d0193e5c 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
 #ifndef __INSP_SOCKET_H__
 #define __INSP_SOCKET_H__
 
-#include <sstream>
-#include <string>
-#include <deque>
-#include "dns.h"
-#include "inspircd_config.h"
-#include "socket.h"
-#include "inspsocket.h"
 #include "timer.h"
 
 /**
@@ -325,7 +318,7 @@ class CoreExport BufferedSocket : public EventHandler
         * into a char* array which can be up to
         * 16 kilobytes in length.
         */
-       virtual char* Read();
+       virtual const char* Read();
 
        /**
         * Returns the IP address associated with