summaryrefslogtreecommitdiff
path: root/src/modules/m_namedmodes.cpp
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
2019-10-13Convert a bunch of LocalUser* casts to IS_LOCAL.Peter Powell
This is a lot safer and handles users changing servers properly.
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2019-04-19Fix namedmodes exposing non-key secret parameters to outsiders.Peter Powell
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-02-02Add names for a bunch of numerics.Peter Powell
2017-12-22Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsB00mX0r
Per #1122
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-08-29Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolAttila Molnar
2016-03-22m_namedmodes Switch to Numeric::ParamBuilderAttila Molnar
2016-03-22m_namedmodes Inherit command handler from SplitCommandAttila Molnar
Pass a LocalUser pointer to DisplayList()
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2016-02-22Merge insp20Attila Molnar
2016-02-13m_namedmodes Only show chan key to members and opers with channels/auspexAttila Molnar
2015-09-28Fix incorrect std::string::operator[] usageAttila Molnar
Passing a position equal to length() to the non-const version of operator[] is undefined
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2014-09-04m_namedmodes Build and process a Modes::ChangeList when handling PROPAttila Molnar
2014-09-04Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableAttila Molnar
This gets rid of the duplicated mode parsing logic in m_namedmodes
2014-02-22Add ModeParser::GetModes(), returns all user/chanmodesAttila Molnar
2014-02-20Add a ModeParser::FindMode() overload that takes a mode name and a mode typeAttila Molnar
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
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.)
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-05-30Module description updatesRobby-
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-03-06Fix mode Z being in the wrong section of the CHANMODES listdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12601 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-05Register channel mode Z when enableddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12592 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10Change display of PROP list to match the input formatdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12424 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-07Change PROP command format to accept multiple changes in one linedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12390 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-06Add PROP command to m_namedmodesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12388 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-04Config updates from jdhoredanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12375 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-22Display namedmodes on a single linedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11955 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-16Clean up crash on destruction of statics at exitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11877 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-15Add m_namedmodes that adds pseudo-listmode Z that shows and manipulates ↵danieldg
modes via their long names git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11876 e03df62e-2008-0410-955e-edbf42e46eb7