summaryrefslogtreecommitdiffstats
path: root/pica-client/skynet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/skynet.cpp')
-rw-r--r--pica-client/skynet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pica-client/skynet.cpp b/pica-client/skynet.cpp
index 9f41f4e..bf02e11 100644
--- a/pica-client/skynet.cpp
+++ b/pica-client/skynet.cpp
@@ -129,6 +129,8 @@ void SkyNet::nodelink_activated(PICA_c2n *c2n)
self_aware = true;
active_nodelink = c2n;
+ nodes.MakeClean();
+
emit BecameSelfAware();
//
//restore old peer connections, if any
@@ -165,8 +167,6 @@ void SkyNet::nodelink_activated(PICA_c2n *c2n)
retry_timer_id = startTimer(10000);
//
}
-
-
}
void SkyNet::nodelink_closed(PICA_c2n *c2n, int error)