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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user