summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-09 14:20:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-09 14:20:07 +0000
commitbd1b2458006ffc27283850aac82ea748aaf6330a (patch)
tree5513673ecef8f5461c788568cd4d91f1bc49dcc5 /src/modules/extra
parent8d3a30d4c5c1cc6ebeb62630b2aa05cd26c42303 (diff)
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
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}