aboutsummaryrefslogtreecommitdiff
path: root/src/mode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-291-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2025-03-281-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-221-8/+8
|\|
| * Add a formatting overload of the ModuleException constructor.Gravatar Sadie Powell2025-03-181-8/+8
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-09-091-10/+10
|\|
| * Normalise the case of MOD_RESULT variables.Gravatar Sadie Powell2024-08-311-10/+10
| |
* | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-11/+11
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-06-231-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
| |
* | Always use fmtlib directly.Gravatar Sadie Powell2024-06-071-11/+11
|/
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-3/+3
|
* Merge branch 'insp3' into insp4.Gravatar Sadie Powell2024-06-071-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2024-06-031-0/+3
|\|
| * Send an error when a user tries to give a status rank to a non-member.Gravatar Sadie Powell2024-06-031-0/+3
| | | | | | | | Closes #2097.
* | Rename some of the Module member variables.Gravatar Sadie Powell2024-03-041-3/+3
| |
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-23/+17
| |
* | Replace ModeAction with bool.Gravatar Sadie Powell2023-01-221-34/+30
| | | | | | | | This enum is functionally the same as bool but with weird semantics.
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-3/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
| |
* | Allow remapping mode and extban characters at load time.Gravatar Sadie Powell2022-12-201-1/+1
| | | | | | | | Closes #1970.
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+3
| |
* | Refactor the internals of the oper system.Gravatar Sadie Powell2022-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system.
* | Rename user_hash to UserMap and move to usermanager.Gravatar Sadie Powell2022-10-071-2/+2
| |
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-2/+2
| |
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-2/+2
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-9/+9
| |
* | Make clientprotocol{msg,event} and numericbuilder non-default headers.Gravatar Sadie Powell2022-06-261-0/+1
| |
* | Move numeric helper classes to their own header.Gravatar Sadie Powell2022-06-261-0/+1
| |
* | Use size_t instead of `unsigned int` in ModeParser.Gravatar Sadie Powell2022-06-111-5/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-05-211-1/+1
|\|
| * Fix an unnecessary mode lookup in RemoveMode.Gravatar Sadie Powell2022-05-151-1/+1
| |
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-6/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
| |
* | Refactor CleanMask to cover more edge cases.Gravatar Sadie Powell2022-04-161-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test results from during refactoring: PASS: => *!*@* PASS: ! => *!*@* PASS: @ => *!*@* PASS: !foo@bar => *!foo@bar PASS: fo:ob:ar => *!*@fo:ob:ar PASS: foo!@bar => foo!*@bar PASS: foo!bar => foo!bar@* PASS: foo!bar@ => foo!bar@* PASS: foo.bar => *!*@foo.bar PASS: foo@bar => *!foo@bar PASS: !foo@ => *!foo@* PASS: foo => foo!*@* PASS: foo! => foo!*@*
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-161-16/+19
|\|
| * Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.Gravatar Sadie Powell2022-04-121-6/+2
| | | | | | | | This should make privilege errors more consistent.
| * Add a method for finding the next prefix mode above a rank.Gravatar Sadie Powell2022-04-111-12/+19
| |
* | Add ListModeBase::CanonicalizeParam, fix cleaning extban masks.Gravatar Sadie Powell2022-04-161-3/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-051-5/+0
|\|
| * Remove a weird incorrect comment.Gravatar Sadie Powell2022-04-031-5/+0
| |
* | Pack the mode set more efficiently and add support for numeric modes.Gravatar Sadie Powell2022-03-271-4/+22
| |
* | Fix unsigned/const keyword ordering, remove unnecessary consts.Gravatar Sadie Powell2022-03-271-2/+2
| |
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-9/+17
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Move ModeParser::BuildPrefixes to core_mode.Gravatar Sadie Powell2021-07-031-30/+0
| | | | | | | | | | Now we've dropped support for the 1202 protocol we don't need this in the core.
* | Move ModeParser::GiveModeList to core_mode.Gravatar Sadie Powell2021-07-031-48/+0
| | | | | | | | | | Now we've dropped support for the 1202 protocol we don't need this in the core.
* | Rename Simple{Channel,User}ModeHandler to match other mode handlers.Gravatar Sadie Powell2021-06-011-2/+2
| |