| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Rename UserMembList to Channel::MemberMap, switch all code to use it | 2014-07-14 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Change return type of Channel::GetUsers() to reference from pointer as it is ↵ | 2014-07-14 | 1 | -2/+2 | ||
| | | | | | | | | | never NULL | |||||
| * | | Change allocation of InspIRCd::Modes to be physically part of the object ↵ | 2014-06-24 | 1 | -1/+1 | ||
| | | | | | | | | | containing it using fakederef | |||||
| * | | Add UserManager::GetUsers() | 2014-03-15 | 1 | -1/+4 | ||
| | | | ||||||
| * | | Add InspIRCd::GetChans(), remove ChannelCount() | 2014-03-14 | 1 | -1/+4 | ||
| | | | ||||||
| * | | Move the wallops mode from the core into core_wallops | 2014-03-09 | 1 | -2/+1 | ||
| | | | ||||||
| * | | Throw an exception if ModeParser::AddMode() fails | 2014-02-23 | 1 | -7/+6 | ||
| | | | ||||||
| * | | Assign an id to user modes, parameter chanmodes and simple chanmodes | 2014-02-21 | 1 | -1/+29 | ||
| | | | ||||||
| * | | Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcnt | 2014-02-21 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Add a ModeParser::FindMode() overload that takes a mode name and a mode type | 2014-02-20 | 1 | -0/+10 | ||
| | | | ||||||
| * | | Create a name -> ModeHandler* map | 2014-02-20 | 1 | -0/+9 | ||
| | | | ||||||
| * | | Replace ModeMasks with a two-dimensional array | 2014-02-18 | 1 | -37/+19 | ||
| | | | ||||||
| * | | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵ | 2014-02-18 | 1 | -2/+2 | ||
| | | | | | | | | | ModeType | |||||
| * | | Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵ | 2014-02-15 | 1 | -18/+26 | ||
| | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | | Merge insp20 | 2014-01-21 | 1 | -3/+15 | ||
| |\| | ||||||
| | * | Use FindNickOnly() in a few more places if a local user is performing an ↵ | 2014-01-19 | 1 | -5/+21 | ||
| | | | | | | | | | action to prevent UID walking | |||||
| | * | Improve support for rarely used compilers, EKOPath in this case. | 2013-08-31 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Automatically register and unregister mode watchers | 2014-01-06 | 1 | -0/+2 | ||
| | | | ||||||
| * | | Remove useless ULine() checks | 2014-01-05 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | 2013-11-12 | 1 | -21/+21 | ||
| | | | | | | | | | automatically | |||||
| * | | Keep lists of mode handlers by type | 2013-09-12 | 1 | -7/+19 | ||
| | | | ||||||
| * | | Move prefix mode specific fields and getters into PrefixMode | 2013-09-11 | 1 | -25/+32 | ||
| | | | | | | | | | Add ModeHandler::IsPrefixMode() | |||||
| * | | Create a base class for prefix modes | 2013-09-11 | 1 | -29/+27 | ||
| | | | | | | | | | Move Channel::SetPrefix() into Membership | |||||
| * | | Add a type id field to ModeHandler | 2013-09-11 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Clean up a few constructors | 2013-08-12 | 1 | -3/+0 | ||
| | | | | | | | | | Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead | |||||
| * | | Change the syntax of FOREACH macros to be less dumb. | 2013-08-04 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵ | 2013-07-19 | 1 | -1/+4 | ||
| | | | | | | | | | User class to the snomask modehandler | |||||
| * | | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵ | 2013-07-01 | 1 | -8/+8 | ||
| | | | | | | | | | with ModeHandlers, part 1 | |||||
| * | | Fix a few oversights | 2013-07-01 | 1 | -1/+1 | ||
| | | | | | | | | | This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f | |||||
| * | | Call Channel::SetModeParam() from the mode parser when needed instead of ↵ | 2013-06-13 | 1 | -4/+3 | ||
| | | | | | | | | | requiring mode handlers to do it | |||||
| * | | Replace void* dest and target_type parameters of OnMode with a User* and a ↵ | 2013-06-13 | 1 | -8/+4 | ||
| | | | | | | | | | Channel* | |||||
| * | | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵ | 2013-06-13 | 1 | -3/+6 | ||
| | | | | | | | | | | | | | | | | | indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.) | |||||
| * | | Store prefix rank in a ModeHandler field, change ↵ | 2013-06-06 | 1 | -6/+1 | ||
| | | | | | | | | | ModeHandler::GetPrefixRank() to be non-virtual | |||||
| * | | Convert User::FormatNoticeMasks() to use std::string. | 2013-06-06 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Move a few trivial functions into headers | 2013-06-02 | 1 | -10/+0 | ||
| | | | ||||||
| * | | Watch mode names with ModeWatchers instead of mode letters | 2013-06-01 | 1 | -59/+47 | ||
| | | | ||||||
| * | | Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode() | 2013-06-01 | 1 | -5/+5 | ||
| | | | ||||||
| * | | Simplify user mode removal via ModeHandler::RemoveMode() | 2013-05-27 | 1 | -15/+7 | ||
| | | | | | | | | | | | The function does not need to be virtual because the core can remove any user mode using the default logic The optional modestack parameter was always NULL, so remove it | |||||
| * | | Deduplicate RemoveMode() implementations | 2013-05-27 | 1 | -17/+31 | ||
| | | | | | | | | | | | The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory | |||||
| * | | Cache mode list that is sent in the 004 numeric | 2013-05-24 | 1 | -35/+10 | ||
| | | | | | | | | | Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code | |||||
| * | | Remove dead ModeParser code | 2013-05-24 | 1 | -16/+0 | ||
| | | | ||||||
| * | | Allow spaces (and more) in oper types | 2013-05-16 | 1 | -1/+1 | ||
| | | | | | | | | | | | The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv | |||||
| * | | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper() | 2013-04-10 | 1 | -3/+3 | ||
| | | | ||||||
| * | | Migrate u_listmode.h into the core, change +b to use it | 2013-04-08 | 1 | -0/+1 | ||
| | | | ||||||
| * | | Add builtin modes using AddService() | 2013-04-08 | 1 | -18/+9 | ||
| | | | ||||||
| * | | Unite include/modes/*.h into include/builtinmodes.h | 2013-04-08 | 1 | -24/+1 | ||
| |/ | ||||||
| * | Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵ | 2012-12-15 | 1 | -1/+1 | ||
| | | | | | | | target nickname If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message | |||||
| * | Fix unsafe iteration in DelMode() when unloading m_permchannels | 2012-12-08 | 1 | -4/+9 | ||
| | | ||||||
| * | Change empty string assignments to .clear() or remove them entirely | 2012-11-28 | 1 | -1/+1 | ||
| | | | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f | |||||
| * | Move simple user and channel mode handlers into a single file | 2012-10-08 | 1 | -13/+5 | ||
| | | ||||||
