]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_list.cpp
namespace fix0rz
[user/henk/code/inspircd.git] / src / commands / cmd_list.cpp
index b2ec1941bed766da04e4c0f6845c2a54148f0b51..900946eafd71f0a905c05f7d96c08c50c42f8887 100644 (file)
@@ -13,7 +13,6 @@
 
 #include "inspircd.h"
 #include "commands/cmd_list.h"
-#include "wildcard.h"
 
 /** Handle /LIST
  */
@@ -54,7 +53,7 @@ CmdResult CommandList::Handle (const std::vector<std::string>& parameters, User
 
                if (parameters.size() && (parameters[0][0] != '<' || parameters[0][0] == '>'))
                {
-                       if (!match(i->second->name, parameters[0]) && !match(i->second->topic, parameters[0]))
+                       if (!InspIRCd::Match(i->second->name, parameters[0]) && !InspIRCd::Match(i->second->topic, parameters[0]))
                                continue;
                }