summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-28 11:43:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-28 11:43:42 +0000
commit89b95b2327dcd3adaff33986a58bc2185b1d43ee (patch)
tree98cbf18a773ea15f2a1703618b935ec2d42d1af7 /src
parentae23edb3981c3252a66d7afcc35af359d5f7e116 (diff)
Fix for crash, submitted by peaveydk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5560 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_sqlauth.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index edff0f29b..8f9a850ab 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -185,6 +185,7 @@ public:
else
{
ServerInstance->Log(DEBUG, "Got query with unknown ID, this probably means the user quit while the query was in progress");
+ return NULL;
}
if (!user->GetExt("sqlauthed"))