aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ircv3_echomessage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix aliases that resolve to messages echoing with echo-message.Gravatar Peter Powell2018-08-151-3/+3
| | | | Fixes #1459.
* Replace all references to IRCv3.2 with IRCv3.Gravatar Peter Powell2018-08-131-1/+1
| | | | IRCv3 no longer does versioned releases.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-11/+13
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.Gravatar Peter Powell2018-04-161-0/+7
| | | | | | This is necessary to allow m_ircv3_echomessage to pretend that a message was echoed successfully. This is useful as it doesn't let spammers know that their message was blocked.
* Rework message handling.Gravatar Peter Powell2018-01-061-11/+11
| | | | | | | | | | | | | - 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.
* Add m_ircv3_echomessage which implements the IRCv3.2 echo-message extensionGravatar Attila Molnar2015-12-061-0/+70