summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-22 15:16:46 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-22 15:16:46 +0000
commit58f4306bb6e1f91076fccf30a3b43a40b3d1915a (patch)
tree145095fad6904382ecf6775dedc5c981d406a61a /include
parent517a26252a091eaee0149458a86fc43731bce618 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/u_listmode.h4
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();