diff options
author | Sadie Powell <sadie@witchery.services> | 2025-05-11 17:16:35 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-05-11 17:16:35 +0100 |
commit | 7c5d2c09facee885dbc976a1ac4597819783353a (patch) | |
tree | 5b9928b94488665f6db2528a195909ba55ac7c8b /modules | |
parent | 41e702d8535d9f703ca7740ce0aa356e8f9797be (diff) |
Be more specific in the generator field in db_json.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/database/db_json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_json.cpp b/modules/database/db_json.cpp index 7d556a0fc..980e31190 100644 --- a/modules/database/db_json.cpp +++ b/modules/database/db_json.cpp @@ -262,7 +262,7 @@ private: static void UpdateMetadata(yyjson_mut_doc *doc, yyjson_mut_val *obj) { - const auto generator = "Anope " + Anope::Version(); + const auto generator = "Anope " + Anope::Version() + " " + Anope::VersionBuildString(); yyjson_mut_obj_upsert(doc, obj, "generator", yyjson_mut_strncpy(doc, generator.c_str(), generator.length())); yyjson_mut_obj_upsert(doc, obj, "version", yyjson_mut_uint(doc, ANOPE_DATABASE_VERSION)); yyjson_mut_obj_upsert(doc, obj, "updated", yyjson_mut_int(doc, Anope::CurTime)); |