mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-04-10 14:56:18 +00:00
Updated UpdatePeer logic
This commit is contained in:
@@ -72,7 +72,7 @@ class Peer:
|
||||
peers = []
|
||||
for peer in self.configuration.getPeersList():
|
||||
# Make sure to exclude your own data when updating since its not really relevant
|
||||
if peer.id != self.id:
|
||||
if peer.id == self.id:
|
||||
continue
|
||||
peers.append(peer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user