| Commit message (Expand) | Author | Age | Files | Lines |
| * | Add ERR_INVALIDMODEPARAM for responding to invalid mode params.•••Currently on invalid modes we do a combination of different things:
1. Send a custom mode-specific numeric (which often collides with
other modes).
2. Send a server notice.
3. Do absolutely nothing.
This new numeric is a generic way of handling invalid parameters
when setting a mode that avoids all of the mistakes of the previous
behaviour.
| Peter Powell | 2018-01-29 | 1 | -9/+16 |
| * | 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.
| Peter Powell | 2018-01-06 | 1 | -4/+4 |
| * | Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs.
| Peter Powell | 2017-11-21 | 1 | -1/+1 |
| * | Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a
user's hostname.
| Peter Powell | 2017-10-28 | 1 | -1/+1 |
| * | Add a helper function for calling the OnCheckExemption event. | Peter Powell | 2017-10-21 | 1 | -2/+1 |
| * | Convert a bunch of time-related config options to getDuration. | Peter Powell | 2017-09-03 | 1 | -1/+1 |
| * | Move the OnCheckExemption hook out of the core. | Peter Powell | 2017-03-20 | 1 | -2/+10 |
| * | Fix some whitespace issues | Attila Molnar | 2015-12-28 | 1 | -1/+1 |
| * | m_repeat: fix typo (similiar->similar)•••Also update docs/ accordingly
| James Lu | 2015-06-12 | 1 | -2/+2 |
| * | Specify which Extensible subclass an ExtensionItem is valid for | Attila Molnar | 2015-01-18 | 1 | -1/+1 |
| * | Replace irc::modestacker usage with the new ModeParser::Process() | Attila Molnar | 2014-09-03 | 1 | -5/+3 |
| * | Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead | Attila Molnar | 2014-07-14 | 1 | -1/+1 |
| * | Rename UserMembList to Channel::MemberMap, switch all code to use it | Attila Molnar | 2014-07-14 | 1 | -1/+1 |
| * | Change return type of Channel::GetUsers() to reference from pointer as it is ... | Attila Molnar | 2014-07-14 | 1 | -2/+2 |
| * | Add ParamModeBase and ParamMode, change all parameter modes to inherit from P...•••- Type of the extension used to store data is a template parameter
- The extension is automatically unset when the mode is unset
- Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset()
- Transparently handle the case when OnSet() modifies the mode parameter
- Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead
| Attila Molnar | 2014-02-15 | 1 | -62/+65 |
| * | Globally #undef min and max on Windows | Attila Molnar | 2014-01-23 | 1 | -5/+0 |
| * | Automatically register ServiceProviders created by modules | attilamolnar | 2013-09-08 | 1 | -7/+0 |
| * | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init()
| attilamolnar | 2013-08-30 | 1 | -2/+1 |
| * | Automatically attach modules to events | attilamolnar | 2013-08-04 | 1 | -2/+0 |
| * | m_repeat Optimize the Levenshtein() function•••New version uses 2 vectors instead of a matrix
Do not shrink the vectors even if the user sets a lower <repeat:size> than before, this is because longer lines may remain in the backlog
| attilamolnar | 2013-06-24 | 1 | -31/+24 |
| * | Call Channel::SetModeParam() from the mode parser when needed instead of requ... | attilamolnar | 2013-06-13 | 1 | -2/+0 |
| * | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global
This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
| attilamolnar | 2013-06-13 | 1 | -1/+1 |
| * | Added m_repeat - Allows for blocking of similiar messages•••Changes to the original module:
- Parse settings using a sepstream, accept remote mode changes regardless of our config
- Refuse to link when config settings differ
- Style changes
All ideas and features are the brainchild and work of Daniel Vassdal
| Daniel Vassdal | 2013-06-10 | 1 | -0/+424 |