From 37d6059f65a6aec561f0bfb4877dd95a35e72ab7 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 Oct 2006 19:14:57 +0000 Subject: Merge guestpattern fix by peaveydk git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5535 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlauth.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index fd4c67ed0..edff0f29b 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -90,7 +90,10 @@ public: virtual void OnUserRegister(userrec* user) { if ((allowpattern != "") && (Srv->MatchText(user->nick,allowpattern))) + { + user->Extend("sqlauthed"); return; + } if (!CheckCredentials(user)) { -- cgit v1.2.3