class CacheRefreshTimer;
class TreeServer;
class Link;
+class Autoconnect;
/** This is the main class for the spanningtree module
*/
/** Constructor
*/
- ModuleSpanningTree(InspIRCd* Me);
+ ModuleSpanningTree();
/** Shows /LINKS
*/
/** Connect a server locally
*/
- void ConnectServer(Link* x);
+ void ConnectServer(Link* x, Autoconnect* y);
/** Check if any servers are due to be autoconnected
*/
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);