From 89b95b2327dcd3adaff33986a58bc2185b1d43ee Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Oct 2006 11:43:42 +0000 Subject: Fix for crash, submitted by peaveydk git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5560 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlauth.cpp | 1 + 1 file changed, 1 insertion(+) 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")) -- cgit v1.2.3