summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-14 19:17:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-14 19:17:52 +0000
commit0fed6fcd750760e06a1c81c7ae37a09220f8c7f5 (patch)
tree3b15857cf72011a9f078bc1cbb3c7a082347154f /src/modules
parentedc83724ec0f22ccbb8a4d31238137096944d938 (diff)
Fix to parentheses and chown to brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2790 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_sql.cpp2
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] : "");