diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/u_listmode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h index f98faefd5..cad52fc12 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -14,6 +14,8 @@ #ifndef INSPIRCD_LISTMODE_PROVIDER #define INSPIRCD_LISTMODE_PROVIDER +#include "wildcard.h" + /** Get the time as a string */ inline std::string stringtime() @@ -282,7 +284,7 @@ class ListModeBase : public ModeHandler for (limitlist::iterator it = chanlimits.begin(); it != chanlimits.end(); it++) { - if (InspIRCd::Match(channel->name, it->mask)) + if (match(channel->name, it->mask)) { // We have a pattern matching the channel... maxsize = el->size(); |