summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspircd.h9
-rw-r--r--src/inspircd.cpp3
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.