aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-11-021-1/+1
* Add the Time::FromNow helper function.Gravatar Sadie Powell2024-10-031-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+2
* Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-1/+1
* Convert DelLine from const char* to const std::string&.Gravatar Sadie Powell2023-05-301-2/+2
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-2/+2
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-1/+1
* Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-7/+7
* Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-3/+4
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-2/+2
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-101-1/+3
|\|
| * Allow specifying multiple masks when adding an X-line.•••The only exemptions for this are RLINE (a real name might contains commas) and SVSHOLD (sent by services only). Closes #1972. Gravatar Sadie Powell2022-12-101-2/+3
| * Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-041-1/+1
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-2/+4
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-1/+1
* | Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-291-2/+2
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-041-1/+1
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-2/+2
* | Store the shun cleanedcommands/enabledcommands in a token list.Gravatar Sadie Powell2022-06-181-16/+10
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-051-1/+1
|\|
| * Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-051-2/+2
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-01-031-1/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-141-1/+1
|\|
| * If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-141-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-111-12/+12
|\|
| * Add KNOCK and CYCLE to the list of sanitisable shun commands.Gravatar Sadie Powell2021-12-021-12/+12
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+2
* | Mark all command classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+3
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
* | Stop broadcasting the CBAN, RLINE, and SHUN commands.•••These will be broadcast by the X-line system so this legacy hack is no longer necessary. Gravatar Sadie Powell2021-07-231-8/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-2/+0
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-131-0/+6
|\|
| * Add a shun option to only apply when users are fully connected.•••Closes #1825. Gravatar Sadie Powell2021-01-131-0/+6