X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=main.h;h=0731781ba68cf00b30ce7228ee26750e14102375;hb=795115bf680185ae01043bd1222b78bfed8c1d87;hp=71b98db1beb5f2795212420e43155b649dc91461;hpb=bbf107bf1238e0dd767fb25748ae347b9f0f6a85;p=NeonServV5.git diff --git a/main.h b/main.h index 71b98db..0731781 100644 --- a/main.h +++ b/main.h @@ -4,6 +4,9 @@ #define NEONSERV_VERSION "5.0.1-dev" #include "config.h" +#ifndef BOTWAR_ALERT_CHAN +#define BOTWAR_ALERT_CHAN NULL +#endif #include #include @@ -62,9 +65,12 @@ #define MAXNUMPARAMS 200 /* maximum number of parameters in one line */ #define MAXLANGUAGES 5 #define MAXMODES 6 +#define INVITE_TIMEOUT 30 +#define BOTWAR_DETECTION_TIME 7 +#define BOTWAR_DETECTION_EVENTS 6 //valid nick chars -#define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^_`" +#define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^-_`" //the first char is a little bit different // 0 1 2 3 4 5 6 // 1234567890123456789012345678901234567890123456789012345678 9012 62