]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/base.cpp
Added proper administrativia notices to CONNECT and inbound connections
[user/henk/code/inspircd.git] / src / base.cpp
index 81aea40e2286407339d7fd2d4900e35794f0cd39..69468f59c72e5c540d6fe245277df5058f9258c5 100644 (file)
@@ -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)
@@ -107,7 +110,7 @@ BoolSet::BoolSet(char bitmask)
        this->bits = bitmask;
 }
 
-bool operator=(BoolSet other)
+bool BoolSet::operator=(BoolSet other)
 {
         this->bits = other.bits;
         return true;