]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix to parentheses and chown to brain
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 14 Jan 2006 19:17:52 +0000 (19:17 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 14 Jan 2006 19:17:52 +0000 (19:17 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2790 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/extra/m_sql.cpp

index dafd76118157da377cc84e01401ea92baf7b1ca5..5d79d7596fcf6b7b378f96eb38bb541c11d4ec9a 100644 (file)
@@ -122,7 +122,7 @@ class SQLConnection
                                {
                                        while (field_count < mysql_field_count(&connection))
                                        {
-                                               if (fields[field_count] && fields[field_count].name && row[field_count])
+                                               if ((fields[field_count]) && (fields[field_count].name) && (row[field_count]))
                                                {
                                                        std::string a = (fields[field_count].name ? fields[field_count].name : "");
                                                        std::string b = (row[field_count] ? row[field_count] : "");