]> 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 0dbf06ec9d2d6c31221286590538c2d2ab991afc..db61fd7aaa40eeb7b4cf6787afce3437393034db 100644 (file)
@@ -26,9 +26,9 @@ class ModuleSpanningTree;
  * tree, used for rapid linear lookups.
  */
 #ifdef WINDOWS
-typedef nspace::hash_map<std::string, TreeServer*, nspace::hash_compare<string, 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<string>, irc::StrHashComp> server_hash;
+typedef nspace::hash_map<std::string, TreeServer*, nspace::hash<std::string>, irc::StrHashComp> server_hash;
 #endif
 
 typedef std::map<TreeServer*,TreeServer*> TreeServerList;
@@ -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;