removed unused code in bots.c
[NeonServV5.git] / src / overall.h
index 753ec2b9530fb75ba0e9445acf6c87058ab8fd75..cee57955cd4779a5ac8456523ca43d5e01f4d5f8 100644 (file)
@@ -1,4 +1,4 @@
-/* overall.h - NeonServ v5.3
+/* overall.h - NeonServ v5.6
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -19,8 +19,8 @@
 #define _overall_h
 #include "../config.h"
 
-#define NEONSERV_VERSION "5.3"
-#define VERSION_PATCHLEVEL 543
+#define NEONSERV_VERSION "5.6"
+#define VERSION_PATCHLEVEL 736
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -39,6 +39,7 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <sys/wait.h>
+#include <errno.h>
 #endif
 #include <unistd.h>
 #include <getopt.h>
 #define BOTWAR_DETECTION_TIME 7
 #define BOTWAR_DETECTION_EVENTS 6
 #define REWHO_TIMEOUT   10 /* wait 10 seconds before WHO an unauthed user again */
-#define TICKS_PER_SECOND 10
+#define CLEAR_CACHE_INTERVAL 10
 
 //valid nick chars
 #define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^-_`"