diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_sql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp index dafd76118..5d79d7596 100644 --- a/src/modules/extra/m_sql.cpp +++ b/src/modules/extra/m_sql.cpp @@ -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] : ""); |