git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3361
e03df62e-2008-0410-955e-
edbf42e46eb7
void erase_module(int j);
void BuildISupport();
void MoveTo(std::string modulename,int slot);
void erase_module(int j);
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;
public:
time_t startup_time;
void InspIRCd::DoOneIteration(bool process_module_sockets)
{
void InspIRCd::DoOneIteration(bool process_module_sockets)
{
- bool expire_run = false;
+ /*bool expire_run = false;
int activefds[MAX_DESCRIPTORS];
int incomingSockfd;
int in_port;
int activefds[MAX_DESCRIPTORS];
int incomingSockfd;
int in_port;
InspSocket* s_del = NULL;
unsigned int numberactive;
sockaddr_in sock_us; // our port number
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.
/* time() seems to be a pretty expensive syscall, so avoid calling it too much.
* Once per loop iteration is pleanty.
WritePID(Config->PID);
/* main loop, this never returns */
WritePID(Config->PID);
/* main loop, this never returns */
while (true)
{
DoOneIteration(true);
while (true)
{
DoOneIteration(true);