]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix for crash, submitted by peaveydk
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 28 Oct 2006 11:43:42 +0000 (11:43 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 28 Oct 2006 11:43:42 +0000 (11:43 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5560 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/extra/m_sqlauth.cpp

index edff0f29b58b9d93319229fab8310aae7f99ba39..8f9a850ab5f029f037798caa0396096af313a5ee 100644 (file)
@@ -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"))