aboutsummaryrefslogtreecommitdiff
path: root/include/channels.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-13/+13
* Fix various documentation comments.Gravatar Sadie Powell2021-03-311-1/+0
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-3/+3
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
* Add Channel::WriteRemoteNotice and revert WriteNotice changes.•••This is a partial reversion of 687778b72e. See also: #1749. Gravatar Sadie Powell2020-01-291-0/+1
* 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.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-62/+9
* 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 cases•••- 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 Gravatar Attila Molnar2016-04-111-1/+4
* 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 system•••- 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 Gravatar Attila Molnar2015-11-021-1/+1
* 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 instead•••Remove the now unused UserMembList typedef too Gravatar Attila Molnar2014-07-141-4/+4
* 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
* 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 a...•••Remove srcmemb parameter Gravatar Attila Molnar2014-06-101-3/+14
* Avoid double Membership lookup in Channel::UserList()•••The user is always inside if UserList() is called from ForceJoin() and the HasUser() result obtained in the /NAMES handler can be reused Gravatar Attila Molnar2014-04-091-1/+2
* Index Channel::modes and User::modes with the id of the mode instead of its l...Gravatar Attila Molnar2014-02-211-6/+4
* Add ParamModeBase and ParamMode, change all parameter modes to inherit from P...•••- 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 Gravatar Attila Molnar2014-02-151-12/+19
* 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 modes•••Move Channel::SetPrefix() into Membership Gravatar attilamolnar2013-09-111-11/+0
* Clean up a few constructors•••Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead Gravatar attilamolnar2013-08-121-1/+3
* Replace hardcoded mode letters, part 2•••This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-191-3/+16
* Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-2/+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.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-1/+1
* Channel::JoinUser() and Channel::ForceChan() changes•••Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS Gravatar attilamolnar2013-04-131-7/+11
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-4/+1
* Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-39/+0
* Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUse...Gravatar attilamolnar2013-04-011-2/+2
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-7/+7
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-171-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1