From 080a9f5d2431f728c30edab6d4871549d8bc57da Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Feb 2006 10:22:10 +0000 Subject: Test two git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 9 --------- src/inspircd.cpp | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/include/inspircd.h b/include/inspircd.h index fd657a63b..0163d4344 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -108,15 +108,6 @@ class InspIRCd void BuildISupport(); void MoveTo(std::string modulename,int slot); bool expire_run; - int activefds[MAX_DESCRIPTORS]; - int incomingSockfd; - int in_port; - userrec* cu; - InspSocket* s; - InspSocket* s_del; - unsigned int numberactive; - sockaddr_in sock_us; // our port number - socklen_t uslen; // length of our port number public: time_t startup_time; diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 98418a967..6c34f2c29 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -606,7 +606,6 @@ bool InspIRCd::LoadModule(const char* filename) void InspIRCd::DoOneIteration(bool process_module_sockets) { - /*bool expire_run = false; int activefds[MAX_DESCRIPTORS]; int incomingSockfd; int in_port; @@ -615,7 +614,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) InspSocket* s_del = NULL; unsigned int numberactive; sockaddr_in sock_us; // our port number - socklen_t uslen;*/ // length of our port number + socklen_t uslen; // length of our port number /* time() seems to be a pretty expensive syscall, so avoid calling it too much. * Once per loop iteration is pleanty. -- cgit v1.2.3