]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/resolvers.h
Fix ENCAP stripping, was incorrectly checking for " CHGHOST" and similar commands
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / resolvers.h
index 29ead13de2ffed539dcbaef9a0f13ae1be92d4d0..348debe474dc11a89f630c82919bc92576d15afe 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -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