aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | 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
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-34/+13
* | Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-20/+14
* | 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-22/+11
* | Merge insp20Gravatar attilamolnar2013-04-281-4/+2
|\|
| * Don't crop the channel name if it's too long in Channel::Channel()•••...and especially don't use the shortened name in one place and the original in another Having different <limits:maxchan> values on the same network is not supported Gravatar attilamolnar2013-04-211-4/+2
* | 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-80/+89
* | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*Gravatar attilamolnar2013-04-131-2/+2
* | Remove the deprecated invite APIGravatar attilamolnar2013-04-131-2/+2
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-9/+9
* | Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-34/+19
* | Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUse...Gravatar attilamolnar2013-04-011-11/+12
|/
* Fix exactly <limits:maxchan> long channel names being truncated•••Fixes #422 reported by @RawrDragon Gravatar attilamolnar2013-02-111-4/+4
* Don't send quitting users in RPL_NAMREPLY, fixes desyncing clients who join a...Gravatar Adam2012-10-311-1/+3
* Check if the mask is long enough before accessing it when checking extbansGravatar attilamolnar2012-10-031-1/+1
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-1/+2
* Change debug message in Invitation::Find() to output expiration time as a str...Gravatar attilamolnar2012-07-131-1/+1
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-171-0/+88
* Merge pull request #166 from Robby-/insp20-cfgcorrections•••[2.0] Add more documentation about logging, aswell as make text, tab and space corrections to the configs.Gravatar Robin Burchell2012-05-301-1/+1
|\