summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-23 19:14:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-23 19:14:57 +0000
commit37d6059f65a6aec561f0bfb4877dd95a35e72ab7 (patch)
tree688ccea9c9ece2ad7f6f4eb4ea474eae5cf7748f /src/modules
parentd00fc6f9bf3beca11b2e4a744aaecb119e617540 (diff)
Merge guestpattern fix by peaveydk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5535 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_sqlauth.cpp3
1 files changed, 3 insertions, 0 deletions
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))
{