aboutsummaryrefslogtreecommitdiffstats
path: root/include/mode.h
Commit message (Expand)AuthorAgeFilesLines
...
* Remove ModeParser::LastParseParams and GetLastParseParams()Gravatar Attila Molnar2014-09-031-2/+0
* m_spanningtree Send MODE/FMODE from the OnMode hook•••If the MODE_LOCALONLY flag is set the mode change is not propagated Gravatar Attila Molnar2014-09-031-2/+2
* Populate a Modes::ChangeList object in ModeParser::Process()Gravatar Attila Molnar2014-09-031-0/+4
* Add Modes::Change and Modes::ChangeListGravatar Attila Molnar2014-09-031-0/+1
* Change mode_sequence to be a const ref in ModeParser::Process()•••Also change the signature of DisplayListModes() to accept a const ref Gravatar Attila Molnar2014-09-021-1/+1
* Pass prefix rank and prefix char to PrefixMode constructorGravatar Attila Molnar2014-08-061-1/+3
* Change allocation of InspIRCd::Modes to be physically part of the object cont...Gravatar Attila Molnar2014-06-241-1/+1
* Throw an exception if ModeParser::AddMode() failsGravatar Attila Molnar2014-02-231-2/+4
* Add ModeParser::GetModes(), returns all user/chanmodesGravatar Attila Molnar2014-02-221-4/+10
* Assign an id to user modes, parameter chanmodes and simple chanmodesGravatar Attila Molnar2014-02-211-0/+27
* Add a ModeParser::FindMode() overload that takes a mode name and a mode typeGravatar Attila Molnar2014-02-201-0/+7
* Create a name -> ModeHandler* mapGravatar Attila Molnar2014-02-201-0/+8
* Replace ModeMasks with a two-dimensional arrayGravatar Attila Molnar2014-02-181-12/+5
* Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to Mo...Gravatar Attila Molnar2014-02-181-1/+1
* Add ParamModeBase and ParamMode, change all parameter modes to inherit from P...•••- 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 Gravatar Attila Molnar2014-02-151-10/+0
* Add ModeHandler::IsParameterMode() and MC_PARAMGravatar Attila Molnar2014-02-151-0/+13
* Remove some dead codeGravatar Attila Molnar2014-01-311-2/+0
* Fix PrefixMode not being exported which caused runtime link errors.Gravatar Peter Powell2013-11-091-1/+1
* Keep lists of mode handlers by typeGravatar attilamolnar2013-09-121-0/+26
* Add ModeHandler::IsListModeBase() and MC_LISTGravatar attilamolnar2013-09-121-1/+15
* Move prefix mode specific fields and getters into PrefixMode•••Add ModeHandler::IsPrefixMode() Gravatar attilamolnar2013-09-111-22/+45
* Create a base class for prefix modes•••Move Channel::SetPrefix() into Membership Gravatar attilamolnar2013-09-111-7/+49
* Add a type id field to ModeHandlerGravatar attilamolnar2013-09-111-1/+12
* Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••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.) Gravatar attilamolnar2013-06-131-5/+27
* Store prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank()...Gravatar attilamolnar2013-06-061-1/+6
* Move a few trivial functions into headersGravatar attilamolnar2013-06-021-2/+2
* Watch mode names with ModeWatchers instead of mode lettersGravatar attilamolnar2013-06-011-14/+16
* Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()Gravatar attilamolnar2013-06-011-4/+2
* Simplify user mode removal via ModeHandler::RemoveMode()•••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 Gravatar attilamolnar2013-05-271-7/+3
* Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-271-5/+13
* Cache mode list that is sent in the 004 numeric•••Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code Gravatar attilamolnar2013-05-241-13/+29
* Remove dead ModeParser codeGravatar attilamolnar2013-05-241-7/+0
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-4/+1
* Add builtin modes using AddService()Gravatar attilamolnar2013-04-081-3/+5
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-8/+12
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Remove mode counter, not reliable and only used for umode +i•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-091-10/+0
* Use ServiceProvider for inter-module dependencies•••This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-161-1/+1
* Add Inspircd::AddServices•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12135 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-7/+1
* Add ParamChannelModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12134 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-1/+11
* Add ModeHandler* versions of channel mode access•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-5/+1
* Remove AllowHalfop item from server config•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-2/+3
* Get rid of ModePair•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-34/+0
* Get rid of more unneeded parent classes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-1/+1
* Maintain refcount of Module objects to complain about leaked pointers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11925 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-2/+2
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Add ModeHandler::cull() for auto-deletion, fixes call of virtual method on pa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-0/+1
* Remove Command and ModeHandler objects in their destructors; fixes possible p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-131-3/+0