]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
Add support for blacklists and whitelists, just http password auth to go (the most...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index 3bf1a16e30878afd167c2b6728cdb85308b38be9..db61fd7aaa40eeb7b4cf6787afce3437393034db 100644 (file)
@@ -26,7 +26,7 @@ class ModuleSpanningTree;
  * tree, used for rapid linear lookups.
  */
 #ifdef WINDOWS
-typedef nspace::hash_map<std::string, TreeServer*, nspace::hash_compare<std::string, std::less<string> > > server_hash;
+typedef nspace::hash_map<std::string, TreeServer*, nspace::hash_compare<std::string, std::less<std::string> > > server_hash;
 #else
 typedef nspace::hash_map<std::string, TreeServer*, nspace::hash<std::string>, irc::StrHashComp> server_hash;
 #endif
@@ -41,7 +41,7 @@ typedef std::map<irc::string, Module*> hookmodules;
 /** Contains helper functions and variables for this module,
  * and keeps them out of the global namespace
  */
-class SpanningTreeUtilities
+class SpanningTreeUtilities : public classbase
 {
  private:
        /** Creator server
@@ -61,9 +61,7 @@ class SpanningTreeUtilities
        /** Announce TS changes to channels on merge
         */
        bool AnnounceTSChange;
-       /** Synchronize timestamps between servers
-        */
-       bool EnableTimeSync;
+
        /** Make snomasks +CQ quiet during bursts and splits
         */
        bool quiet_bursts;
@@ -93,12 +91,6 @@ class SpanningTreeUtilities
         */
        std::vector<Link> LinkBlocks;
 
-       /** If this is true, this server is the master sync server for time
-        * synching - e.g. it is the server with its clock correct. It will
-        * send out the correct time at intervals.
-        */
-       bool MasterTime;
-
        /** List of module pointers which can provide I/O abstraction
         */
        hookmodules hooks;