]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/resolvers.h
Make VF_OPTCOMMON module mismatches a fatal link error by default
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / resolvers.h
index 8ce55921bb0f50bb01ce81313fe856e8b9f9dcbe..0b82bfd99c1c85c108f9b5932d55b88e68112cca 100644 (file)
 #include "socket.h"
 #include "inspircd.h"
 #include "xline.h"
-#include "transport.h"
+#include "../transport.h"
 
-#include "m_spanningtree/utils.h"
-#include "m_spanningtree/link.h"
+#include "utils.h"
+#include "link.h"
 
 /** Handle resolving of server IPs for the cache
  */
@@ -40,7 +40,7 @@ class SecurityIPResolver : public Resolver
        {
        }
 
-       void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached, int resultnum = 0)
+       void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached)
        {
                Utils->ValidIPs.push_back(result);
        }
@@ -78,7 +78,7 @@ class ServernameResolver : public Resolver
        Module* mine;
  public:
         ServernameResolver(Module* me, SpanningTreeUtilities* Util, InspIRCd* Instance, const std::string &hostname, Link x, bool &cached, QueryType qt);
-        void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached, int resultnum = 0);
+        void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached);
         void OnError(ResolverError e, const std::string &errormessage);
 };