diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_ldapauth.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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; |