diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-27 10:22:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-27 10:22:10 +0000 |
commit | 080a9f5d2431f728c30edab6d4871549d8bc57da (patch) | |
tree | 2ce4b7768ca1990c4585e7768d1e76e664a5a51b | |
parent | 747ae4b7a56cf94562b5b339ab3adc88653aa337 (diff) |
Test two
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/inspircd.h | 9 | ||||
-rw-r--r-- | src/inspircd.cpp | 3 |
2 files changed, 1 insertions, 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. |