1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 13:13:14 +02:00

Store when the account name was registered in the NickCore.

This commit is contained in:
Sadie Powell
2024-05-11 17:33:42 +01:00
parent 1cf5918574
commit 4008e64f26
7 changed files with 24 additions and 15 deletions
+3
View File
@@ -216,6 +216,9 @@ Serializable *NickAlias::Unserialize(Serializable *obj, Serialize::Data &data)
data["extensible:NO_EXPIRE"] >> b;
if (b)
na->Extend<bool>("NS_NO_EXPIRE");
if (na->time_registered < na->nc->time_registered)
na->nc->time_registered = na->time_registered;
/* end compat */
return na;