diff options
author | Adam <Adam@anope.org> | 2013-08-08 03:03:57 +0000 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-08 03:03:57 +0000 |
commit | 7cd80a2131983db521dcf860e754ca00f5e6aec0 (patch) | |
tree | 42e68a974c63a2656c7e11532187335daba7ae13 /src/regchannel.cpp | |
parent | b93d650b1f63a0159a88404bd64f79311700b11d (diff) |
Fix logging LOG_NORMAL logs in m_sqllog. Fix/add more compat extensible items to ChannelInfo::Unserialize
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index c4f3a39fb..a703acda8 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -294,8 +294,8 @@ Serializable* ChannelInfo::Unserialize(Serializable *obj, Serialize::Data &data) data["extensible:SECURE"] >> b; if (b) ci->Extend<bool>("CS_SECURE"); - data["extensible:PRIVATE"] >> b; b = false; + data["extensible:PRIVATE"] >> b; if (b) ci->Extend<bool>("CS_PRIVATE"); b = false; @@ -318,6 +318,22 @@ Serializable* ChannelInfo::Unserialize(Serializable *obj, Serialize::Data &data) data["extensible:SECUREFOUNDER"] >> b; if (b) ci->Extend<bool>("SECUREFOUNDER"); + b = false; + data["extensible:RESTRICTED"] >> b; + if (b) + ci->Extend<bool>("RESTRICTED"); + b = false; + data["extensible:KEEPTOPIC"] >> b; + if (b) + ci->Extend<bool>("KEEPTOPIC"); + b = false; + data["extensible:SIGNKICK"] >> b; + if (b) + ci->Extend<bool>("SIGNKICK"); + b = false; + data["extensible:SIGNKICK_LEVEL"] >> b; + if (b) + ci->Extend<bool>("SIGNKICK_LEVEL"); /* end compat */ return ci; |