summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base.cpp3
-rw-r--r--src/inspircd.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 9d03b6afb..69468f59c 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -23,6 +23,9 @@
#include "modules.h"
#include "helperfuncs.h"
+const int bitfields[] = {1,2,4,8,16,32,64,128};
+const int inverted_bitfields[] = {~1,~2,~4,~8,~16,~32,~64,~128};
+
extern time_t TIME;
bool Extensible::Extend(std::string key, char* p)
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 4291f604c..71ea723d5 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2684,7 +2684,7 @@ int InspIRCd(char** argv, int argc)
WritePID(PID);
/* setup select call */
-#ifndef USE_KQUEUE
+#ifdef USE_SELECT
FD_ZERO(&selectFds);
#endif
log(DEBUG,"InspIRCd: startup: zero selects");