]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/resolvers.h
Change to Duration for second param
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / resolvers.h
index 29ead13de2ffed539dcbaef9a0f13ae1be92d4d0..5d4386c4b2c276f5931fb34d244e292da27aafc8 100644 (file)
@@ -17,7 +17,6 @@
 #include "socket.h"
 #include "inspircd.h"
 #include "xline.h"
-#include "../transport.h"
 
 #include "utils.h"
 #include "link.h"
@@ -69,13 +68,12 @@ class ServernameResolver : public Resolver
        SpanningTreeUtilities* Utils;
        QueryType query;
        std::string host;
-       Module* mine;
        reference<Link> MyLink;
        reference<Autoconnect> myautoconnect;
  public:
-        ServernameResolver(Module* me, SpanningTreeUtilities* Util, 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);
+       ServernameResolver(SpanningTreeUtilities* Util, 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);
 };
 
 #endif