summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/extra/sql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/extra/sql.h b/modules/extra/sql.h
index e2daf49da..a62f2fba3 100644
--- a/modules/extra/sql.h
+++ b/modules/extra/sql.h
@@ -45,6 +45,9 @@ namespace SQL
for (std::map<Anope::string, std::stringstream *>::const_iterator it = o->data.begin(), it_end = o->data.end(); it != it_end; ++it)
if (!this->data.count(it->first) || it->second->str() != this->data[it->first]->str())
return false;
+ for (std::map<Anope::string, std::stringstream *>::const_iterator it = this->data.begin(), it_end = this->data.end(); it != it_end; ++it)
+ if (!o->data.count(it->first) || it->second->str() != o->data[it->first]->str())
+ return false;
return true;
}