aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_topiclock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-1/+1
| | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-1/+1
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-5/+5
| | | | GCCs warnings for this are much better than Clangs.
* Convert uncontroversial anonymous numerics to use constants.Gravatar Peter Powell2017-09-061-1/+7
|
* Refactor topic setting logic to go through Channel::SetTopic() in all casesGravatar Attila Molnar2016-04-111-22/+3
| | | | | - Pass topic set time and optionally the setter to SetTopic() - Don't do anything if the topic is changed by a local user to what it is currently
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | parameters
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
|
* Remove some dead codeGravatar Attila Molnar2014-01-311-4/+0
|
* Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
|
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-1/+0
|
* Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-1/+1
| | | | | | | | The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
|
* Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-4/+4
| | | | | - 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.
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
|
* m_topiclock Prefix ModDesc with $Gravatar attilamolnar2012-10-231-1/+1
|
* New module to support server-side topic locking and server-to-server ↵Gravatar attilamolnar2012-10-061-0/+179
SVSTOPIC command SVSTOPIC can either set the topic, the topic setter and the topic timestamp to the given parameters or can nuke the topic entirely on a channel (like it was never set) It is for ulines only