aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index cb5e4e4ab..8641c0d45 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -887,7 +887,7 @@ void User::WriteCommonRaw(ClientProtocol::Event& protoev, bool include_self)
ForEachNeighbor(handler, include_self);
}
-void User::ForEachNeighbor(ForEachNeighborHandler& handler, bool include_self)
+uint64_t User::ForEachNeighbor(ForEachNeighborHandler& handler, bool include_self)
{
// The basic logic for visiting the neighbors of a user is to iterate the channel list of the user
// and visit all users on those channels. Because two users may share more than one common channel,
@@ -936,6 +936,8 @@ void User::ForEachNeighbor(ForEachNeighborHandler& handler, bool include_self)
}
}
}
+
+ return newid;
}
void User::WriteRemoteNumeric(const Numeric::Numeric& numeric)