X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspsocket.h;h=43555ff438cc27e2fd154741473323abdb4937c0;hb=5e9a6b9186a8cbaaf65ae7d9cd9c0c033c91b497;hp=af92615ea19144cae9647f72b895145fda74bf98;hpb=855f0d98e90a077f46b456e98ebb8a9b290488f6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspsocket.h b/include/inspsocket.h index af92615ea..43555ff43 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -2,12 +2,9 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * - * - * 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(); };