summaryrefslogtreecommitdiff
path: root/include/parammode.h
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
2019-01-28Add ParamMode::IsParameterSecret and remove special casing of keys.Peter Powell
2018-12-16Fix ParamModeBase::OnUnset() not being virtual.Peter Powell
Closes #1536.
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-02-15Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵Attila Molnar
ParamMode - 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