Explorar o código

Config object was never even being initialized on leave. Never noticed since desktop and server clients did not use.

Adam Ierymenko %!s(int64=8) %!d(string=hai) anos
pai
achega
f9a9c2d009
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      node/Node.cpp

+ 1 - 0
node/Node.cpp

@@ -327,6 +327,7 @@ ZT_ResultCode Node::leave(uint64_t nwid,void **uptr,void *tptr)
 		} else {
 			if (uptr)
 				*uptr = *n->second->userPtr();
+			n->second->externalConfig(&ctmp);
 			n->second->destroy();
 			nUserPtr = n->second->userPtr();
 		}