summaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
AgeCommit message (Collapse)Author
2020-12-20Hide the server name/desc better when <options:hideserver> is set.Sadie Powell
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-06-25Switch permchannels and xline_db from OnBackgroundTimer to a Timer.Peter Powell
2019-06-25permchannels: remove an unused ChanModeReference.Peter Powell
2019-04-28Some more text fixes and improvements (#1618).Robby
2019-03-25m_permchannels: validate channel names properly.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Remove the default value in ConfigTag::get{Duration,Float,Int}.Peter Powell
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2017-04-14Automatically apply +P to all permanent channels.Peter Powell
2016-08-29Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolAttila Molnar
2016-04-11Refactor topic setting logic to go through Channel::SetTopic() in all casesAttila Molnar
- 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
2014-07-29Differ database error messages for m_permchannels and m_xline_dbJustin Crawford
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.
2014-07-25Merge insp20Attila Molnar
2014-05-08Fix m_permchannels and m_xline_db on WindowsAdam
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
2014-03-14Add InspIRCd::GetChans(), remove ChannelCount()Attila Molnar
2014-03-14m_permchannels Remove pointless cleanup ceremony in cull()Attila Molnar
2014-03-07Fix m_permchannels not prepending the path when reading the config.Peter Powell
2014-02-21Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-21Merge insp20Attila Molnar
2013-09-15Work around STB_GNU_UNIQUE symbols not allowing module unmapattilamolnar
2013-09-12Send ListModeBase modes implicitly on channel syncattilamolnar
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-30Merge insp20attilamolnar
2013-08-28m_permchannels Fix empty topic setbyattilamolnar
2013-08-27m_permchannels Add the ability to save listmodesattilamolnar
2013-08-27m_permchannels Save channel TS, topic set time and set by informationattilamolnar
When loading, ignore and log channels with a name longer than Limits.MaxChan
2013-08-27m_permchannels Construct the final line that will be saved in a std::string ↵attilamolnar
in WriteDatabase()
2013-08-25Clean up the protocol interfaceattilamolnar
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-08-04Modify the log message to contain the log type.Peter Powell
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
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.
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-06-16Always set the topic in Channel::SetTopic(), move access checks into cmd_topicattilamolnar
2013-06-06Use iostream instead of C-style file operations.Peter Powell
2013-06-04Reduce User* -> Membership* lookups on part and kickattilamolnar
2013-06-04Remove NULL checks from various Channel functionsattilamolnar
Passing NULL to these functions are not permitted and must be avoided by the caller
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
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-28Merge insp20attilamolnar
2013-04-21m_permchannels Workaround for alphabetical module initialization orderattilamolnar
Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-03-20m_permchannels Load channels from the config only at module load time and ↵attilamolnar
only when there are no linked servers to avoid desync