1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 17:56:38 +02:00

Fix some warnings and errors reported by valgrind

This commit is contained in:
Adam
2013-07-03 19:44:13 -04:00
parent c62b3cb275
commit c2e1a8a3e2
4 changed files with 13 additions and 5 deletions
+2
View File
@@ -290,10 +290,12 @@ Serializable* ChannelInfo::Unserialize(Serializable *obj, Serialize::Data &data)
/* compat */
bool b;
b = false;
data["extensible:SECURE"] >> b;
if (b)
ci->Extend<bool>("CS_SECURE");
data["extensible:PRIVATE"] >> b;
b = false;
if (b)
ci->Extend<bool>("CS_PRIVATE");
/* end compat */