]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/main.h
Remove InspIRCd* parameters and fields
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / main.h
index 1d3ec9d3972d2549c0432ddb4ad0c36c1f3de503..810b8ec921d04c57e6cbc23cfe19ec4a0ee26818 100644 (file)
@@ -37,6 +37,7 @@ class SpanningTreeUtilities;
 class CacheRefreshTimer;
 class TreeServer;
 class Link;
+class Autoconnect;
 
 /** This is the main class for the spanningtree module
  */
@@ -59,7 +60,7 @@ class ModuleSpanningTree : public Module
 
        /** Constructor
         */
-       ModuleSpanningTree(InspIRCd* Me);
+       ModuleSpanningTree();
 
        /** Shows /LINKS
         */
@@ -123,7 +124,7 @@ class ModuleSpanningTree : public Module
 
        /** Connect a server locally
         */
-       void ConnectServer(Link* x);
+       void ConnectServer(Link* x, Autoconnect* y);
 
        /** Check if any servers are due to be autoconnected
         */
@@ -187,7 +188,6 @@ class ModuleSpanningTree : public Module
        ModResult OnSetAway(User* user, const std::string &awaymsg);
        void ProtoSendMode(void* opaque, TargetTypeFlags target_type, void* target, const std::vector<std::string> &modeline, const std::vector<TranslateType> &translate);
        void ProtoSendMetaData(void* opaque, Extensible* target, const std::string &extname, const std::string &extdata);
-       std::string ProtoTranslate(Extensible* item);
        void OnEvent(Event* event);
        void OnLoadModule(Module* mod,const std::string &name);
        void OnUnloadModule(Module* mod,const std::string &name);