From ff52ade0cc82a241f1c970a0e9d85e752310f6cb Mon Sep 17 00:00:00 2001 From: Kufat Date: Wed, 8 Jul 2026 07:18:56 -0400 Subject: [PATCH] Fix setting the chosen channel founder/successor in db_atheme. --- modules/database/db_atheme.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/database/db_atheme.cpp b/modules/database/db_atheme.cpp index 8e385148d..4f974fcc6 100644 --- a/modules/database/db_atheme.cpp +++ b/modules/database/db_atheme.cpp @@ -1786,6 +1786,12 @@ public: si.when = data->suspend_ts; ci->Extend("CS_SUSPENDED", si); } + + if (data->founder_candidate.nc) + ci->SetFounder(data->founder_candidate.nc); + + if (data->successor_candidate.nc) + ci->SetSuccessor(data->successor_candidate.nc); } for (const auto &[_, nc] : *NickCoreList)