1
0
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:
Adam
2013-07-08 15:48:37 -04:00
parent e3b6ae3649
commit b103d16eb1
3 changed files with 10 additions and 6 deletions
+8
View File
@@ -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;
}