aboutsummaryrefslogtreecommitdiff
path: root/include/channels.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Avoid double Membership lookup in Channel::UserList()Gravatar Attila Molnar2014-04-091-1/+2
| | | | The user is always inside if UserList() is called from ForceJoin() and the HasUser() result obtained in the /NAMES handler can be reused
* Index Channel::modes and User::modes with the id of the mode instead of its ↵Gravatar Attila Molnar2014-02-211-6/+4
| | | | letter
* Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵Gravatar Attila Molnar2014-02-151-12/+19
| | | | | | | | | | 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
* Move GetAllPrefixChars() from Channel to MembershipGravatar Attila Molnar2014-02-141-8/+0
|
* Move GetPrefixChar() from Channel to MembershipGravatar Attila Molnar2014-02-141-13/+0
|
* Convert InviteBase::invites to an intrusively linked listGravatar Attila Molnar2014-01-241-1/+1
|
* Create a base class for prefix modesGravatar attilamolnar2013-09-111-11/+0
| | | | Move Channel::SetPrefix() into Membership
* Clean up a few constructorsGravatar attilamolnar2013-08-121-1/+3
| | | | Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
* Replace hardcoded mode letters, part 2Gravatar attilamolnar2013-07-191-3/+16
| | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
* Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-2/+1
| | | | with ModeHandlers, part 1
* Fix Doxygen comments.Gravatar Peter Powell2013-06-211-1/+1
|
* Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-161-4/+3
|
* Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible()Gravatar attilamolnar2013-06-041-12/+0
|
* Reduce User* -> Membership* lookups on part and kickGravatar attilamolnar2013-06-041-1/+22
|
* Move a few trivial functions into headersGravatar attilamolnar2013-06-021-5/+8
|
* Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-1/+1
|
* Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-1/+1
| | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.