From 784105556de045a2250f68646ec5fd1caa3e1a73 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 22 Aug 2008 17:07:33 +0000 Subject: Nuke last references to MatchText git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10217 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ldapauth.cpp | 2 +- src/modules/extra/m_sqlauth.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp index 211880f05..02d6387eb 100644 --- a/src/modules/extra/m_ldapauth.cpp +++ b/src/modules/extra/m_ldapauth.cpp @@ -113,7 +113,7 @@ public: virtual int OnUserRegister(User* user) { - if ((!allowpattern.empty()) && (ServerInstance->MatchText(user->nick,allowpattern))) + if ((!allowpattern.empty()) && (InspIRCd::Match(user->nick,allowpattern))) { user->Extend("ldapauthed"); return 0; diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index dcc314af9..0164e98f5 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -74,7 +74,7 @@ public: virtual int OnUserRegister(User* user) { - if ((!allowpattern.empty()) && (ServerInstance->MatchText(user->nick,allowpattern))) + if ((!allowpattern.empty()) && (InspIRCd::Match(user->nick,allowpattern))) { user->Extend("sqlauthed"); return 0; -- cgit v1.2.3