From 2fcb5ff4389a9a82d253acdff02a388ddcf14653 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 11 Dec 2017 19:42:52 +0000 Subject: Rework message handling. - Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. --- include/inspircd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index bdbcdb20d..b0446482d 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -88,6 +88,7 @@ struct fakederef #include "socketengine.h" #include "snomasks.h" #include "filelogger.h" +#include "message.h" #include "modules.h" #include "threadengine.h" #include "configreader.h" -- cgit v1.2.3