aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-10 23:14:21 +0000
committerGravatar Sadie Powell2020-11-10 23:14:21 +0000
commitba3dd9cedcca2f3cc6781f09410e3cf2cf696e43 (patch)
tree86fee6a331b262932973ac453169a1b566d60a2a /include/modules
parentConvert FIRST_MOD_RESULT_CUSTOM to a variadic function. (diff)
downloadinspircd++-ba3dd9cedcca2f3cc6781f09410e3cf2cf696e43.tar.gz
inspircd++-ba3dd9cedcca2f3cc6781f09410e3cf2cf696e43.tar.bz2
inspircd++-ba3dd9cedcca2f3cc6781f09410e3cf2cf696e43.zip
Convert FOREACH_MOD_CUSTOM to a variadic function.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/server.h4
1 files changed, 2 insertions, 2 deletions
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