1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 11:36: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
@@ -113,9 +113,11 @@ Serializable* NickCore::Unserialize(Serializable *obj, Serialize::Data &data)
/* compat */
bool b;
b = false;
data["extensible:SECURE"] >> b;
if (b)
nc->Extend<bool>("NS_SECURE");
b = false;
data["extensible:PRIVATE"] >> b;
if (b)
nc->Extend<bool>("NS_PRIVATE");