diff options
| author | Adam <Adam@anope.org> | 2013-07-04 22:37:54 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-07-04 23:05:30 -0400 |
| commit | 55199f0a4c0a323ddce4ae43e505f1e59079c162 (patch) | |
| tree | 2d99760f84bff6d4da65c71d78345afaf7e67fc2 /src/regchannel.cpp | |
| parent | 7edc76f7fb5b336c53b02c825b869b6769e68ef0 (diff) | |
Read most of the old common flags for compat
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 8cc08f15d..c4f3a39fb 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -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; |
