From bd1b2458006ffc27283850aac82ea748aaf6330a Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Aug 2008 14:20:07 +0000 Subject: Fix for bug #583 reported by Deyan, thanks for the heads up git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10128 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 0a3f58076..e0c527c94 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -208,7 +208,7 @@ class MySQLresult : public SQLresult virtual SQLfieldList& GetRow() { if (currentrow < rows) - return fieldlists[currentrow]; + return fieldlists[currentrow++]; else return emptyfieldlist; } -- cgit v1.2.3