aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_namedmodes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-4/+4
|
* Mark all mode classes as final.Gravatar Sadie Powell2021-10-011-1/+2
|
* Mark all command classes as final.Gravatar Sadie Powell2021-10-011-1/+2
|
* Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
|
* Used std::move where it is neededGravatar GermanAizek2021-06-211-2/+2
|
* Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-1/+1
|
* Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-3/+2
|
* Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-3/+3
|
* Alow modules to specify multiple syntax lines.Gravatar Sadie Powell2020-04-141-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-2/+3
|\|
| * Convert a bunch of LocalUser* casts to IS_LOCAL.Gravatar Peter Powell2019-10-131-2/+3
| | | | | | | | This is a lot safer and handles users changing servers properly.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-4/+5
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
| |
| * Fix namedmodes exposing non-key secret parameters to outsiders.Gravatar Peter Powell2019-04-191-3/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-1/+1
|\|
| * Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
| |
* | ModuleManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
| |
* | ModeParser: remove fakederef.Gravatar Sadie Powell2019-02-071-4/+4
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-5/+5
|/
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add names for a bunch of numerics.Gravatar Peter Powell2018-02-021-2/+9
|
* Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsGravatar B00mX0r2017-12-221-1/+1
| | | | Per #1122
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-2/+2
| | | | GCCs warnings for this are much better than Clangs.
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-291-3/+3
|
* m_namedmodes Switch to Numeric::ParamBuilderGravatar Attila Molnar2016-03-221-6/+7
|
* m_namedmodes Inherit command handler from SplitCommandGravatar Attila Molnar2016-03-221-5/+7
| | | | Pass a LocalUser pointer to DisplayList()
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | parameters
* Merge insp20Gravatar Attila Molnar2016-02-221-1/+8
|\
| * m_namedmodes Only show chan key to members and opers with channels/auspexGravatar Attila Molnar2016-02-131-1/+6
| |
| * Fix incorrect std::string::operator[] usageGravatar Attila Molnar2015-09-281-0/+2
| | | | | | | | Passing a position equal to length() to the non-const version of operator[] is undefined
* | Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-2/+2
| | | | | | | | substr() returns a new string while erase() and assign() modify the existing one
* | m_namedmodes Build and process a Modes::ChangeList when handling PROPGravatar Attila Molnar2014-09-041-10/+13
| |
* | Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableGravatar Attila Molnar2014-09-041-40/+29
| | | | | | | | This gets rid of the duplicated mode parsing logic in m_namedmodes
* | Add ModeParser::GetModes(), returns all user/chanmodesGravatar Attila Molnar2014-02-221-4/+3
| |
* | Add a ModeParser::FindMode() overload that takes a mode name and a mode typeGravatar Attila Molnar2014-02-201-31/+25
| |
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
| |
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-2/+2
| | | | | | | | with ModeHandlers, part 1
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-131-2/+2
| | | | | | | | | | | | | | | | 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.)
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-3/+3
| | | | | | | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-3/+2
|/ | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove