summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/resolvers.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-17 22:33:35 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-17 22:33:35 +0000
commit164e9d9171850877161ae057764ff8b579bedd36 (patch)
tree4e10fbe161453c16fbb25026cfc8caf1d22a7a69 /src/modules/m_spanningtree/resolvers.h
parent4d91c60d55e832c47253a586e9c9de219d24e851 (diff)
Add <autoconnect> blocks [jackmcbarn]
Replaces <link:failover> and <link:autoconnect> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11741 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/resolvers.h')
-rw-r--r--src/modules/m_spanningtree/resolvers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/resolvers.h b/src/modules/m_spanningtree/resolvers.h
index fc85cd049..e4404d6a5 100644
--- a/src/modules/m_spanningtree/resolvers.h
+++ b/src/modules/m_spanningtree/resolvers.h
@@ -74,8 +74,9 @@ class ServernameResolver : public Resolver
QueryType query;
std::string host;
Module* mine;
+ Autoconnect* myautoconnect;
public:
- ServernameResolver(Module* me, SpanningTreeUtilities* Util, InspIRCd* Instance, const std::string &hostname, Link x, bool &cached, QueryType qt);
+ ServernameResolver(Module* me, SpanningTreeUtilities* Util, InspIRCd* Instance, const std::string &hostname, Link x, bool &cached, QueryType qt, Autoconnect* myac);
void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached);
void OnError(ResolverError e, const std::string &errormessage);
};