From 65f74be719bf249f4bc93e09670ee07410ecec96 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 23 Sep 2019 12:44:42 +0100 Subject: Add the OnServerBurst hook and fix the docs for OnServerLink. --- include/modules/server.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/modules') diff --git a/include/modules/server.h b/include/modules/server.h index c758df364..4e02efd19 100644 --- a/include/modules/server.h +++ b/include/modules/server.h @@ -61,11 +61,16 @@ class ServerProtocol::LinkEventListener { } - /** Fired when a server finishes burst - * @param server Server that recently linked and finished burst + /** Fired when a server has linked to the network. + * @param server Server that recently linked. */ virtual void OnServerLink(const Server* server) { } + /** Fired when a server has finished bursting. + * @param server Server that recently finished bursting. + */ + virtual void OnServerBurst(const Server* server) { } + /** Fired when a server splits * @param server Server that split * @param error Whether the server split because of an error. -- cgit v1.2.3