Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
ModeProcessFlags too
|
|
|
|
Also change the signature of DisplayListModes() to accept a const ref
|
|
There is no benefit in using a stringstream here
|
|
|
|
|
|
|
|
|
|
never NULL
|
|
containing it using fakederef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ModeType
|
|
ParamMode
- 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
|
|
|
|
action to prevent UID walking
|
|
|
|
|
|
automatically
|
|
|
|
Add ModeHandler::IsPrefixMode()
|
|
Move Channel::SetPrefix() into Membership
|
|
|
|
|
|
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
|
|
|
|
User class to the snomask modehandler
|
|
with ModeHandlers, part 1
|
|
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
|
|
requiring mode handlers to do it
|
|
Channel*
|
|
indicate local only mode changes and mode merges
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.)
|
|
ModeHandler::GetPrefixRank() to be non-virtual
|
|
|
|
|
|
|
|
|
|
The function does not need to be virtual because the core can remove any user mode using the default logic
The optional modestack parameter was always NULL, so remove it
|