From ba3dd9cedcca2f3cc6781f09410e3cf2cf696e43 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 10 Nov 2020 23:14:21 +0000 Subject: Convert FOREACH_MOD_CUSTOM to a variadic function. --- include/modules/server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modules') diff --git a/include/modules/server.h b/include/modules/server.h index d1b68e003..3ed06c355 100644 --- a/include/modules/server.h +++ b/include/modules/server.h @@ -91,14 +91,14 @@ class ServerProtocol::MessageEventListener * @param name The name of the command which was sent. * @param tags The tags which will be sent with the message. */ - virtual void OnBuildMessage(User* source, const char* name, ClientProtocol::TagMap& tags) { } + virtual void OnBuildUserMessage(User* source, const char* name, ClientProtocol::TagMap& tags) { } /** Fired when a server message is being sent by a server. * @param source The server who sent the message. * @param name The name of the command which was sent. * @param tags The tags which will be sent with the message. */ - virtual void OnBuildMessage(Server* source, const char* name, ClientProtocol::TagMap& tags) { } + virtual void OnBuildServerMessage(Server* source, const char* name, ClientProtocol::TagMap& tags) { } }; class ServerProtocol::SyncEventListener -- cgit v1.3.1-10-gc9f91