Merge branch 'master' into IOMultiplexer
[NeonServV5.git] / src / overall.h
index 753ec2b9530fb75ba0e9445acf6c87058ab8fd75..d84c1d2272bb3a0bda92b92332a9f8ca2e1d56fb 100644 (file)
@@ -1,4 +1,4 @@
-/* overall.h - NeonServ v5.3
+/* overall.h - NeonServ v5.5
  * 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.5"
+#define VERSION_PATCHLEVEL 707
 
 #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{|}~[\\]^-_`"