aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-2/+0
* | Return the newly created Membership object from Channel::ForceJoin()Gravatar Attila Molnar2014-06-101-3/+4
* | Change Channel::KickUser() to accept an iterator, add overload that accepts a...•••Remove srcmemb parameter Gravatar Attila Molnar2014-06-101-3/+3
* | Move pre-kick checks from core to cmd_kick (core_channel)Gravatar Attila Molnar2014-06-101-39/+0
* | Remove needless checks from Invitation::Find()Gravatar Attila Molnar2014-05-061-2/+0
* | Change the OnNamesListItem() hook to return ModResult•••Return MOD_RES_DENY to exclude the user from the NAMES list Gravatar Attila Molnar2014-04-201-3/+4
* | Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.•••Remove channels/high-join-limit privilege Gravatar Peter Powell2014-04-111-17/+13
* | 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-6/+1
* | Move checks determining whether a user is allowed to view the NAMES list of a...Gravatar Attila Molnar2014-04-091-6/+0
* | Eliminate usage of has_one in Channel::UserList()Gravatar Attila Molnar2014-04-091-9/+2
* | Merge insp20Gravatar Attila Molnar2014-04-071-1/+2
|\|
| * Fix NAMES list getting truncated on servers having an excessively long server...Gravatar Attila Molnar2014-03-131-1/+2
| * Backport "Refactor Channel::UserList() to use std::string"•••This gets rid of questionable snprintf() usage, reported by @hifi Backported commit: 8a06d54076551387f83a29360478ee6605e241b6 Gravatar Attila Molnar2014-03-131-25/+21
* | Check if Membership::GetPrefixChar() returns 0 before appending it to a string•••Spotted by @barosl Gravatar Attila Molnar2014-03-311-1/+3
* | Change allocation of InspIRCd::chanlist to be physically part of the object c...Gravatar Attila Molnar2014-03-141-4/+4
* | Index Channel::modes and User::modes with the id of the mode instead of its l...Gravatar Attila Molnar2014-02-211-5/+3
* | 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-29/+6
* | Move GetAllPrefixChars() from Channel to MembershipGravatar Attila Molnar2014-02-141-9/+5
* | Move GetPrefixChar() from Channel to MembershipGravatar Attila Molnar2014-02-141-14/+12
* | Remove some dead codeGravatar Attila Molnar2014-01-311-1/+0
* | Destroy Memberships of a quitting user in QuitUser() instead of in cull()Gravatar Attila Molnar2014-01-251-2/+0
* | Convert InviteBase::invites to an intrusively linked listGravatar Attila Molnar2014-01-241-26/+8
* | Remove classbase inheritance from InvitationGravatar Attila Molnar2014-01-241-2/+0
* | Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-3/+3
* | Merge insp20Gravatar Attila Molnar2014-01-211-2/+3
|\|
| * Fix some logically dead code which was found by Coverity.Gravatar Peter Powell2014-01-211-10/+2
| * Show +i users on a channel to opers having the channels/auspex priv who do /N...•••Discovered by @Cronus89 Gravatar Attila Molnar2014-01-041-2/+4
| * Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-1/+0
* | Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-1/+1
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-15/+14
* | Move prefix mode specific fields and getters into PrefixMode•••Add ModeHandler::IsPrefixMode() Gravatar attilamolnar2013-09-111-11/+9
* | Create a base class for prefix modes•••Move Channel::SetPrefix() into Membership Gravatar attilamolnar2013-09-111-16/+9
* | Fix a few problems•••- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK) - Do not set Membership::modes in ForceJoin() incorrectly to privs - Fix crash when spanningtree detects a configuration error on load Gravatar attilamolnar2013-08-221-1/+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-6/+1
* | Require privs given on initial join to be in <options:defaultmodes>.Gravatar Peter Powell2013-08-101-2/+5
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-7/+7
* | Replace hardcoded mode letters, part 3•••This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-191-1/+2
* | 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-21/+21
* | Seperate ModeReference into ChanModeReference and UserModeReferenceGravatar attilamolnar2013-07-191-1/+1
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-5/+0
* | Fix a few oversights•••This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f Gravatar attilamolnar2013-07-011-4/+4
* | Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-161-25/+1
* | Call Channel::SetModeParam() from the mode parser when needed instead of requ...Gravatar attilamolnar2013-06-131-4/+1
* | Refactor Channel::UserList() to use std::stringGravatar attilamolnar2013-06-041-28/+21
* | Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible()Gravatar attilamolnar2013-06-041-25/+0
* | Reduce User* -> Membership* lookups on part and kickGravatar attilamolnar2013-06-041-32/+50
* | Channel::KickUser() and cmd_kick changes•••- Remove uline checks from KickUser() - Disallow the kick if done by a local user and the victim is ulined in cmd_kick - Remove call to RemoveAllPrefixes() as it has no additional effect, the Membership object containing the prefixes is destroyed soon after the call Gravatar attilamolnar2013-06-041-28/+14
* | Remove NULL checks from various Channel functions•••Passing NULL to these functions are not permitted and must be avoided by the caller Gravatar attilamolnar2013-06-041-34/+2
* | Move a few trivial functions into headersGravatar attilamolnar2013-06-021-15/+0