| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | Fix NAMES list getting truncated on servers having an excessively long ↵ | 2014-03-13 | 1 | -1/+2 | ||
| | | | | | | | | | server name | |||||
| | * | Backport "Refactor Channel::UserList() to use std::string" | 2014-03-13 | 1 | -25/+21 | ||
| | | | | | | | | | | | | | This gets rid of questionable snprintf() usage, reported by @hifi Backported commit: 8a06d54076551387f83a29360478ee6605e241b6 | |||||
| * | | Check if Membership::GetPrefixChar() returns 0 before appending it to a string | 2014-03-31 | 1 | -1/+3 | ||
| | | | | | | | | | Spotted by @barosl | |||||
| * | | Change allocation of InspIRCd::chanlist to be physically part of the object ↵ | 2014-03-14 | 1 | -4/+4 | ||
| | | | | | | | | | containing it | |||||
| * | | Index Channel::modes and User::modes with the id of the mode instead of its ↵ | 2014-02-21 | 1 | -5/+3 | ||
| | | | | | | | | | letter | |||||
| * | | Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵ | 2014-02-15 | 1 | -29/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | 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 Membership | 2014-02-14 | 1 | -9/+5 | ||
| | | | ||||||
| * | | Move GetPrefixChar() from Channel to Membership | 2014-02-14 | 1 | -14/+12 | ||
| | | | ||||||
| * | | Remove some dead code | 2014-01-31 | 1 | -1/+0 | ||
| | | | ||||||
| * | | Destroy Memberships of a quitting user in QuitUser() instead of in cull() | 2014-01-25 | 1 | -2/+0 | ||
| | | | ||||||
| * | | Convert InviteBase::invites to an intrusively linked list | 2014-01-24 | 1 | -26/+8 | ||
| | | | ||||||
| * | | Remove classbase inheritance from Invitation | 2014-01-24 | 1 | -2/+0 | ||
| | | | ||||||
| * | | Convert UserChanList to an intrusively linked list | 2014-01-24 | 1 | -3/+3 | ||
| | | | ||||||
| * | | Merge insp20 | 2014-01-21 | 1 | -2/+3 | ||
| |\| | ||||||
| | * | Fix some logically dead code which was found by Coverity. | 2014-01-21 | 1 | -10/+2 | ||
| | | | ||||||
| | * | Show +i users on a channel to opers having the channels/auspex priv who do ↵ | 2014-01-04 | 1 | -2/+4 | ||
| | | | | | | | | | | | | | /NAMES from outside of the chan Discovered by @Cronus89 | |||||
| | * | Remove unused variables, avoid copies where possible, check empty() instead ↵ | 2013-05-16 | 1 | -1/+0 | ||
| | | | | | | | | | | | | | of size() == 0 Most of these were detected by cppcheck | |||||
| * | | Make various self contained methods static. | 2013-12-15 | 1 | -1/+1 | ||
| | | | | | | | | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString | |||||
| * | | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | 2013-11-12 | 1 | -15/+14 | ||
| | | | | | | | | | automatically | |||||
| * | | Move prefix mode specific fields and getters into PrefixMode | 2013-09-11 | 1 | -11/+9 | ||
| | | | | | | | | | Add ModeHandler::IsPrefixMode() | |||||
| * | | Create a base class for prefix modes | 2013-09-11 | 1 | -16/+9 | ||
| | | | | | | | | | Move Channel::SetPrefix() into Membership | |||||
| * | | Fix a few problems | 2013-08-22 | 1 | -1/+0 | ||
| | | | | | | | | | | | | | - 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 | |||||
| * | | Clean up a few constructors | 2013-08-12 | 1 | -6/+1 | ||
| | | | | | | | | | Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead | |||||
| * | | Require privs given on initial join to be in <options:defaultmodes>. | 2013-08-10 | 1 | -2/+5 | ||
| | | | ||||||
| * | | Change the syntax of FOREACH macros to be less dumb. | 2013-08-04 | 1 | -7/+7 | ||
| | | | ||||||
| * | | Replace hardcoded mode letters, part 3 | 2013-07-19 | 1 | -1/+2 | ||
| | | | | | | | | | This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core | |||||
| * | | Replace hardcoded mode letters, part 2 | 2013-07-19 | 1 | -21/+21 | ||
| | | | | | | | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core | |||||
| * | | Seperate ModeReference into ChanModeReference and UserModeReference | 2013-07-19 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Remove $Core and $Mod* comments apart from $ModDep. | 2013-07-04 | 1 | -2/+0 | ||
| | | | ||||||
| * | | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵ | 2013-07-01 | 1 | -5/+0 | ||
| | | | | | | | | | with ModeHandlers, part 1 | |||||
| * | | Fix a few oversights | 2013-07-01 | 1 | -4/+4 | ||
| | | | | | | | | | This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f | |||||
| * | | Always set the topic in Channel::SetTopic(), move access checks into cmd_topic | 2013-06-16 | 1 | -25/+1 | ||
| | | | ||||||
| * | | Call Channel::SetModeParam() from the mode parser when needed instead of ↵ | 2013-06-13 | 1 | -4/+1 | ||
| | | | | | | | | | requiring mode handlers to do it | |||||
| * | | Refactor Channel::UserList() to use std::string | 2013-06-04 | 1 | -28/+21 | ||
| | | | ||||||
| * | | Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible() | 2013-06-04 | 1 | -25/+0 | ||
| | | | ||||||
| * | | Reduce User* -> Membership* lookups on part and kick | 2013-06-04 | 1 | -32/+50 | ||
| | | | ||||||
| * | | Channel::KickUser() and cmd_kick changes | 2013-06-04 | 1 | -28/+14 | ||
| | | | | | | | | | | | | | - 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 | |||||
| * | | Remove NULL checks from various Channel functions | 2013-06-04 | 1 | -34/+2 | ||
| | | | | | | | | | Passing NULL to these functions are not permitted and must be avoided by the caller | |||||
| * | | Move a few trivial functions into headers | 2013-06-02 | 1 | -15/+0 | ||
| | | | ||||||
| * | | Replaced vsnprintf with VAFORMAT pretty much everywhere. | 2013-05-18 | 1 | -34/+13 | ||
| | | | ||||||
| * | | Get rid of strlcpy(), strlcat(), charlcat() and charremove() | 2013-05-16 | 1 | -20/+14 | ||
| | | | ||||||
| * | | Replace some C-isms with C++-isms. | 2013-05-15 | 1 | -22/+11 | ||
| | | | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. | |||||
| * | | Merge insp20 | 2013-04-28 | 1 | -4/+2 | ||
| |\| | ||||||
| | * | Don't crop the channel name if it's too long in Channel::Channel() | 2013-04-21 | 1 | -4/+2 | ||
| | | | | | | | | | | | | | ...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 | |||||
| * | | Channel::JoinUser() and Channel::ForceChan() changes | 2013-04-13 | 1 | -80/+89 | ||
| | | | | | | | | | | | | | 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 | |||||
| * | | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser* | 2013-04-13 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Remove the deprecated invite API | 2013-04-13 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Add LOG_ prefix to the log level enum values. | 2013-04-12 | 1 | -9/+9 | ||
| | | | ||||||
| * | | Migrate u_listmode.h into the core, change +b to use it | 2013-04-08 | 1 | -34/+19 | ||
| | | | ||||||
| * | | Change channel name parameter of Module::OnUserPreJoin() and ↵ | 2013-04-01 | 1 | -11/+12 | ||
| |/ | | | | Channel::JoinUser() to std::string from char* | |||||
