aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Only store the topic in the permchannels database if one is set.Gravatar Sadie Powell2022-10-231-5/+9
* Make the temporary filenames used by modules more unique.•••This prevents zombie files from causing problems. Gravatar Sadie Powell2022-09-051-1/+2
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* Add an option to allow channel ops to enable the permchannels mode.•••Closes #1964. Gravatar Sadie Powell2022-02-051-0/+6
* Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* Improve the header messages of the filter and permchannels modules.Gravatar Sadie Powell2021-03-211-1/+4
* Default <permchannelsdb:listmodes> to on.Gravatar Sadie Powell2021-03-141-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* Hide the server name/desc better when <options:hideserver> is set.Gravatar Sadie Powell2020-12-201-1/+1
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+7
* Switch permchannels and xline_db from OnBackgroundTimer to a Timer.Gravatar Peter Powell2019-06-251-3/+11
* permchannels: remove an unused ChanModeReference.Gravatar Peter Powell2019-06-251-1/+0
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
* m_permchannels: validate channel names properly.Gravatar Peter Powell2019-03-251-2/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-161-1/+1
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-1/+1
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* Automatically apply +P to all permanent channels.Gravatar Peter Powell2017-04-141-0/+4
* Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-291-1/+1
* Refactor topic setting logic to go through Channel::SetTopic() in all cases•••- 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 Gravatar Attila Molnar2016-04-111-6/+6
* Differ database error messages for m_permchannels and m_xline_db•••m_permchannels and m_xline_db both have the same error messages as well as not informing the server operator what file is at fault for the error. This makes it hard to find which module is causing the error and what file the module is referring to. The new messages explain which database is trying to be written and the path used to write the file. Gravatar Justin Crawford2014-07-291-6/+6
* Merge insp20Gravatar Attila Molnar2014-07-251-6/+1
|\
| * Fix m_permchannels and m_xline_db on Windows•••The call to remove() can fail if the database doesn't already exist. Just ignore the error, which effectively makes the rename() call below work as it does on nix Gravatar Adam2014-05-081-6/+1
* | Add InspIRCd::GetChans(), remove ChannelCount()Gravatar Attila Molnar2014-03-141-1/+2
* | m_permchannels Remove pointless cleanup ceremony in cull()Gravatar Attila Molnar2014-03-141-26/+0
* | Fix m_permchannels not prepending the path when reading the config.Gravatar Peter Powell2014-03-071-0/+3
* | Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntGravatar Attila Molnar2014-02-211-2/+2
* | Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-2/+2
* | Merge insp20Gravatar Attila Molnar2014-01-211-3/+3
|\|
| * Work around STB_GNU_UNIQUE symbols not allowing module unmapGravatar attilamolnar2013-09-151-3/+3
* | Send ListModeBase modes implicitly on channel sync•••Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel() Gravatar attilamolnar2013-09-121-38/+25
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-3/+1
* | Merge insp20Gravatar attilamolnar2013-08-301-19/+87
|\|
| * m_permchannels Fix empty topic setbyGravatar attilamolnar2013-08-281-0/+2
| * m_permchannels Add the ability to save listmodesGravatar attilamolnar2013-08-271-4/+70
| * m_permchannels Save channel TS, topic set time and set by information•••When loading, ignore and log channels with a name longer than Limits.MaxChan Gravatar attilamolnar2013-08-271-15/+20
| * m_permchannels Construct the final line that will be saved in a std::string i...Gravatar attilamolnar2013-08-271-7/+10
* | Clean up the protocol interfaceGravatar attilamolnar2013-08-251-1/+1
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
* | Modify the log message to contain the log type.Gravatar Peter Powell2013-08-041-4/+4
* | Change modules to use the MODNAME constant when logging.•••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. Gravatar Peter Powell2013-08-041-7/+7
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-38/+31
* | Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-161-1/+1