]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspsocket.h
Add counter system for umodes to get rid of some O(n)
[user/henk/code/inspircd.git] / include / inspsocket.h
index af92615ea19144cae9647f72b895145fda74bf98..43555ff438cc27e2fd154741473323abdb4937c0 100644 (file)
@@ -2,12 +2,9 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *               <Craig@chatspike.net>
- *     
- * Written by Craig Edwards, Craig McLure, and others.
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
@@ -71,6 +68,9 @@ class SocketTimeout : public InspTimer
 class InspSocket : public EventHandler
 {
  public:
+
+       bool IsIOHooked;
+
        InspIRCd* Instance;
 
        SocketTimeout* Timeout;
@@ -365,7 +365,7 @@ class InspSocket : public EventHandler
         */
        void MarkAsClosed();
 
-       void HandleEvent(EventType et);
+       void HandleEvent(EventType et, int errornum = 0);
 
        bool Readable();
 };