aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_namedmodes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
|
* 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
* Module description updatesGravatar Robby-2012-05-301-0/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
|
* Fix mode Z being in the wrong section of the CHANMODES listGravatar danieldg2010-03-061-2/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12601 e03df62e-2008-0410-955e-edbf42e46eb7
* Register channel mode Z when enabledGravatar danieldg2010-03-051-15/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12592 e03df62e-2008-0410-955e-edbf42e46eb7
* Change display of PROP list to match the input formatGravatar danieldg2010-02-101-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12424 e03df62e-2008-0410-955e-edbf42e46eb7
* Change PROP command format to accept multiple changes in one lineGravatar danieldg2010-02-071-25/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12390 e03df62e-2008-0410-955e-edbf42e46eb7
* Add PROP command to m_namedmodesGravatar danieldg2010-02-061-22/+77
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12388 e03df62e-2008-0410-955e-edbf42e46eb7
* Config updates from jdhoreGravatar danieldg2010-02-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12375 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Display namedmodes on a single lineGravatar danieldg2009-10-221-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11955 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up crash on destruction of statics at exitGravatar danieldg2009-10-161-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11877 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_namedmodes that adds pseudo-listmode Z that shows and manipulates ↵Gravatar danieldg2009-10-151-0/+136
modes via their long names git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11876 e03df62e-2008-0410-955e-edbf42e46eb7