From 58f4306bb6e1f91076fccf30a3b43a40b3d1915a Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 22 Aug 2008 15:16:46 +0000 Subject: Revert automated conversion by Special, as it (unfortunately) neglects some details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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(); -- cgit v1.2.3