From 1108e5425005af3d9af70882aca55577867a50f4 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 16 Jun 2025 20:17:52 +0100 Subject: [PATCH] We don't need to reserialize aliases now we use account identifiers. --- include/account.h | 2 +- src/nickcore.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/account.h b/include/account.h index d42d6d671..5c2f69e39 100644 --- a/include/account.h +++ b/include/account.h @@ -164,7 +164,7 @@ public: /* Unsaved data */ /** The display nick for this account. */ - NickAlias *na = nullptr; + Serialize::Reference na; /* Number of channels registered by this account */ uint16_t channelcount = 0; /* Users online now logged into this account */ diff --git a/src/nickcore.cpp b/src/nickcore.cpp index 8f81382ad..e68c740ee 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -195,10 +195,6 @@ void NickCore::SetDisplay(NickAlias *na) FOREACH_MOD(OnChangeCoreDisplay, (this, na->nick)); - /* this affects the serialized aliases */ - for (auto *alias : *aliases) - alias->QueueUpdate(); - /* Remove the core from the list */ NickCoreList->erase(this->display);