prevent excessive WHO usage by checking if a WHO is really necessary
[NeonServV5.git] / src / main.h
index ca0342f04eb99c5a8c60dab07bd669932fc54c89..522373fdd00c43674559e8b0fe0bc2572ee0d685 100644 (file)
@@ -1,4 +1,4 @@
-/* main.h - NeonServ v5.0
+/* main.h - NeonServ v5.1
  * Copyright (C) 2011  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -17,7 +17,8 @@
 #ifndef _main_h
 #define _main_h
 
-#define NEONSERV_VERSION "5.0.1-dev"
+#define NEONSERV_VERSION "5.1"
+#define VERSION_PATCHLEVEL 352
 
 #ifndef BOTWAR_ALERT_CHAN
 #define BOTWAR_ALERT_CHAN NULL
@@ -88,6 +89,7 @@
 #define INVITE_TIMEOUT  30
 #define BOTWAR_DETECTION_TIME 7
 #define BOTWAR_DETECTION_EVENTS 6
+#define REWHO_TIMEOUT   10 /* wait 10 seconds before WHO an unauthed user again */
 
 //valid nick chars
 #define VALID_NICK_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890{|}~[\\]^-_`"