mirror of
https://github.com/anope/anope.git
synced 2026-07-09 23:03:12 +02:00
Fix loading some older compat flags and showing noexpire on /ns info
This commit is contained in:
@@ -201,6 +201,14 @@ Serializable* NickAlias::Unserialize(Serializable *obj, Serialize::Data &data)
|
||||
|
||||
na->SetVhost(vhost_ident, vhost_host, vhost_creator, vhost_time);
|
||||
|
||||
/* compat */
|
||||
bool b;
|
||||
b = false;
|
||||
data["extensible:NO_EXPIRE"] >> b;
|
||||
if (b)
|
||||
na->Extend<bool>("NS_NO_EXPIRE");
|
||||
/* end compat */
|
||||
|
||||
return na;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user