summaryrefslogtreecommitdiff
path: root/src/modules/m_customprefix.cpp
AgeCommit message (Collapse)Author
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-14Fix customprefix modes not being deleted when the module unloads.Peter Powell
2017-11-06Enable using m_customprefix to alter core prefix modes.Peter Powell
This replaces the devoice module which has now been removed. If you want users to be able to devoice themselves then you can load the customprefix module add the following config tag: <customprefix name="voice" depriv="yes"> If you wish to keep identical behaviour rather than allowing users to use "MODE #YourChannel -v TheirNick" then you can load the alias module and add the following config tag: <alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick">
2017-11-06Clean up the configuration reading in m_customprefix.Peter Powell
- Rework the code flow to be more readable. - Ensure that the name is well formed. - Allow prefix modes with a rank of zero.
2017-11-06Move depriv from m_customprefix into PrefixMode.Peter Powell
2017-11-06Add support for setting the unset rank in ModeHandler.Peter Powell
2014-08-06Pass prefix rank and prefix char to PrefixMode constructorAttila Molnar
2014-03-24Add stdalgo::delete_all() that deletes all elements in a containerAttila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-09-11Create a base class for prefix modesattilamolnar
Move Channel::SetPrefix() into Membership
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-06Store prefix rank in a ModeHandler field, change ↵attilamolnar
ModeHandler::GetPrefixRank() to be non-virtual
2013-05-27Simplify user mode removal via ModeHandler::RemoveMode()attilamolnar
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
2013-05-27Deduplicate RemoveMode() implementationsattilamolnar
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
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-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2013-04-01Purge references to the deprecated GetStackedLine method.Peter Powell
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-02-28Fix m_customprefix trying to add the first tag twicedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12571 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-20Replace m_halfvoice with m_customprefixdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12503 e03df62e-2008-0410-955e-edbf42e46eb7