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

Read most of the old common flags for compat

This commit is contained in:
Adam
2013-07-04 22:37:54 -04:00
parent 7edc76f7fb
commit 55199f0a4c
2 changed files with 48 additions and 0 deletions
+20
View File
@@ -298,6 +298,26 @@ Serializable* ChannelInfo::Unserialize(Serializable *obj, Serialize::Data &data)
b = false;
if (b)
ci->Extend<bool>("CS_PRIVATE");
b = false;
data["extensible:NO_EXPIRE"] >> b;
if (b)
ci->Extend<bool>("CS_NO_EXPIRE");
b = false;
data["extensible:FANTASY"] >> b;
if (b)
ci->Extend<bool>("BS_FANTASY");
b = false;
data["extensible:GREET"] >> b;
if (b)
ci->Extend<bool>("BS_GREET");
b = false;
data["extensible:PEACE"] >> b;
if (b)
ci->Extend<bool>("PEACE");
b = false;
data["extensible:SECUREFOUNDER"] >> b;
if (b)
ci->Extend<bool>("SECUREFOUNDER");
/* end compat */
return ci;