using namespace std;
#include "inspircd_config.h"
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <string>
-#include <unistd.h>
-#include <fcntl.h>
-#include <poll.h>
-#include <sstream>
-#include <iostream>
-#include <fstream>
-#include <stdexcept>
+#include <time.h>
+#include <vector>
+#include <map>
+#include "users.h"
+#include "ctables.h"
+#include "typedefs.h"
+#include "commands.h"
+#include "globals.h"
+#include "hashcomp.h"
#include "inspircd.h"
#include "inspircd_io.h"
#include "inspstring.h"
{
timergroup* x = found->second;
/*
- * There are pending timers to trigger :o
+ * There are pending timers to trigger
*/
for (timergroup::iterator y = x->begin(); y != x->end(); y++)
{
- InspTimer* n = (InspTimer*)*y;
+ InspTimer* n = *y;
n->Tick(TIME);
delete n;
}
timergroup* x = found->second;
for (timergroup::iterator y = x->begin(); y != x->end(); y++)
{
- InspTimer* z = (InspTimer*)*y;
+ InspTimer* z = *y;
z->Tick(TIME);
delete z;
}