1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 18:06:39 +02:00

Always store a unique identifier in the database.

This commit is contained in:
Sadie Powell
2025-05-16 15:18:24 +01:00
parent be5a0e8108
commit cac10aaa41
+2 -2
View File
@@ -73,9 +73,9 @@ NickCore::Type::Type()
void NickCore::Type::Serialize(Serializable *obj, Serialize::Data &data) const
{
const auto *nc = static_cast<const NickCore *>(obj);
auto *nc = static_cast<NickCore *>(obj);
data.Store("display", nc->display);
data.Store("uniqueid", nc->id);
data.Store("uniqueid", nc->GetId());
data.Store("pass", nc->pass);
data.Store("email", nc->email);
data.Store("language", nc->language);