aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Use iostream instead of C-style file operations.Gravatar Peter Powell2013-06-061-53/+21
* | Reduce User* -> Membership* lookups on part and kickGravatar attilamolnar2013-06-041-4/+1
* | Remove NULL checks from various Channel functions•••Passing NULL to these functions are not permitted and must be avoided by the caller Gravatar attilamolnar2013-06-041-1/+1
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-4/+4
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-7/+7
* | Merge insp20Gravatar attilamolnar2013-04-281-8/+32
|\|
| * m_permchannels Workaround for alphabetical module initialization order•••Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms Gravatar attilamolnar2013-04-211-8/+32
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-6/+6
|/
* m_permchannels Load channels from the config only at module load time and onl...Gravatar attilamolnar2013-03-201-5/+15
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases...Gravatar Adam2012-10-271-0/+8
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* Fix misspelling•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-281-1/+1