aboutsummaryrefslogtreecommitdiff
path: root/include/channels.h
Commit message (Collapse)AuthorAgeFilesLines
* Add <security:banrealmask>.Gravatar Sadie Powell2025-04-161-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2025-01-041-0/+1
|
* Optimized membership lookup for large serversGravatar Glen Miner2024-12-191-1/+1
| | | | On our server hosting 150K users we noticed that std::map lookups for user membership were high on the profile. Since there seemed to be no ordered iteration needed we were able to shave a few % off of the profile by changing this to a std::unordered_map
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+2
|
* Improve the inlining of some channel functions.Gravatar Sadie Powell2023-07-071-17/+5
|
* Update KickUser to match PartUser.Gravatar Sadie Powell2023-07-061-12/+17
|
* Make PartUser inline and add an overload that takes an iterator.Gravatar Sadie Powell2023-07-061-6/+20
| | | | | The return value of PartUser is not used 99% of the time so this allows the compiler to optimise it out.
* Make JoinUser return a Membership instead of a Channel.Gravatar Sadie Powell2023-06-221-2/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | More const correctness work.Gravatar Sadie Powell2022-12-081-12/+12
| |
* | More const correctness.Gravatar Sadie Powell2022-10-231-5/+6
| |
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
| |
* | Replace GetUserCounter() with GetUsers().size().Gravatar Sadie Powell2022-08-241-7/+0
| | | | | | | | | | This method is legacy from when there was a manual user counter and isn't much of a length saving over the unsugared version.
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-2/+2
| |
* | Modernize the syntax of various templates.Gravatar Sadie Powell2022-06-231-1/+1
| |
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-1/+1
| |
* | Add a typedef for the mode status bitset.Gravatar Sadie Powell2022-03-271-1/+1
| |
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
| |
* | Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-13/+13
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-13/+13
| |
* | Make the reason parameter to PartUser const.Gravatar Sadie Powell2021-04-181-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-311-1/+0
|\|
| * Fix various documentation comments.Gravatar Sadie Powell2021-03-311-1/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
| |
* | Add first class support for extbans.Gravatar Sadie Powell2020-05-071-4/+0
| | | | | | | | | | This replaces the previous support which was pretty much a giant hack and was not synchronised between servers.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-3/+3
|\|
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-3/+3
| |
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-1/+1
|/
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* Add Channel::WriteRemoteNotice and revert WriteNotice changes.Gravatar Sadie Powell2020-01-291-0/+1
| | | | | | This is a partial reversion of 687778b72e. See also: #1749.
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+6
|
* Allow Channel::WriteNotice send to other servers and status ranks.Gravatar Peter Powell2019-11-171-1/+2
|
* Add ParamMode::IsParameterSecret and remove special casing of keys.Gravatar Peter Powell2019-01-281-3/+3
|
* Fix warnings from Doxygen.Gravatar Peter Powell2018-10-211-2/+0
|
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-62/+9
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
|
* Refactor topic setting logic to go through Channel::SetTopic() in all casesGravatar Attila Molnar2016-04-111-1/+4
| | | | | - Pass topic set time and optionally the setter to SetTopic() - Don't do anything if the topic is changed by a local user to what it is currently
* Add Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-0/+5
|
* Return true from Channel::PartUser() if the user was on the channelGravatar Attila Molnar2015-12-281-1/+2
|
* Rewrite invite systemGravatar Attila Molnar2015-11-021-1/+1
| | | | | | | | - Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
* Move Channel::UserList() from core to cmd_namesGravatar Attila Molnar2015-05-161-6/+0
|
* Store Membership objects physically in the nodes of Channel::MemberMapGravatar Attila Molnar2014-09-271-1/+1
|
* Remove typedef UserMembIter, use Channel::MemberMap::iterator insteadGravatar Attila Molnar2014-07-141-4/+4
| | | | Remove the now unused UserMembList typedef too
* Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-2/+8
|
* Change return type of Channel::GetUsers() to reference from pointer as it is ↵Gravatar Attila Molnar2014-07-141-1/+1
| | | | never NULL
* Return the newly created Membership object from Channel::ForceJoin()Gravatar Attila Molnar2014-06-101-1/+2
|
* Change Channel::KickUser() to accept an iterator, add overload that accepts ↵Gravatar Attila Molnar2014-06-101-3/+14
| | | | | | a User Remove srcmemb parameter