]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/override_stats.cpp
Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist anymore...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / override_stats.cpp
index d6ae89e4d8e1103a15e5a905c7abb5be0f82f256..2b1b5660c8b0f539df24889cc203d862556b1e95 100644 (file)
@@ -17,7 +17,6 @@
 #include "commands/cmd_whois.h"
 #include "commands/cmd_stats.h"
 #include "socket.h"
-#include "wildcard.h"
 #include "xline.h"
 #include "transport.h"
 
@@ -33,7 +32,7 @@ int ModuleSpanningTree::HandleStats(const std::vector<std::string>& parameters,
 {
        if (parameters.size() > 1)
        {
-               if (match(ServerInstance->Config->ServerName, parameters[1]))
+               if (InspIRCd::Match(ServerInstance->Config->ServerName, parameters[1]))
                        return 0;
 
                /* Remote STATS, the server is within the 2nd parameter */