X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Foverall.h;h=cee57955cd4779a5ac8456523ca43d5e01f4d5f8;hb=15d3e663d09e801fed79a8af7165e1698a377f8e;hp=8f167e960993dfb498966f2cfd09608c6ad0831e;hpb=706e48b1e666054030c491d864f740071e390038;p=NeonServV5.git diff --git a/src/overall.h b/src/overall.h index 8f167e9..cee5795 100644 --- a/src/overall.h +++ b/src/overall.h @@ -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 #include @@ -39,12 +39,18 @@ #include #include #include +#include #endif #include #include #include #include #include +#include +#ifdef SYNCHRONIZE +//some winnt machines do already have a SYNCHRONIZE macro defined... +#undef SYNCHRONIZE +#endif #ifdef HAVE_THREADS #include #ifdef WIN32 @@ -131,7 +137,7 @@ #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{|}~[\\]^-_`"