diff --git a/modules/extra/sql.h b/modules/extra/sql.h index d3449504a..e2daf49da 100644 --- a/modules/extra/sql.h +++ b/modules/extra/sql.h @@ -28,6 +28,14 @@ namespace SQL return *ss; } + std::set KeySet() const anope_override + { + std::set keys; + for (std::map::const_iterator it = this->data.begin(), it_end = this->data.end(); it != it_end; ++it) + keys.insert(it->first); + return keys; + } + bool IsEqual(Serialize::Data *other) anope_override { try