From dc09408f1a68356ee21969cb4f4fb28e94bf6512 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 26 Mar 2025 10:22:42 +0000 Subject: Add a typedef for the serializable id. --- modules/database/db_sql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/database/db_sql.cpp') diff --git a/modules/database/db_sql.cpp b/modules/database/db_sql.cpp index b2d430fa2..18572b197 100644 --- a/modules/database/db_sql.cpp +++ b/modules/database/db_sql.cpp @@ -255,7 +255,7 @@ public: Serializable *obj = sb->Unserialize(NULL, data); if (obj) { - auto oid = Anope::TryConvert(res.Get(j, "id")); + auto oid = Anope::TryConvert(res.Get(j, "id")); if (oid.has_value()) obj->id = oid.value(); else -- cgit