aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_denychans.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-3/+3
|
* Fix an inverted condition in the denychans module.Gravatar Sadie Powell2024-04-221-1/+1
| | | | Closes #2091.
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-4/+4
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
| |
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-2/+2
| |
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-5/+5
| |
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+1
| |
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Fire OnUserPreJoin regardless of whether the join is an override.Gravatar Sadie Powell2021-05-231-1/+4
| |
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-2/+2
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-12/+10
| |
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-2/+2
| |
* | Use emplace_back where possible.Gravatar Sadie Powell2021-03-301-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
| |
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-4/+4
| |
* | Add stdalgo::iterator_range and switch config tag reading to use it.Gravatar Sadie Powell2020-10-311-8/+3
| | | | | | | | | | This allows us to use range-based for loops which were not possible with the previous config tag system.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-7/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-3/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+7
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-1/+1
|\|
| * Update my name and email address.Gravatar Sadie Powell2019-12-311-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-1/+10
|\|
| * Fix whitelist check for a badchan redirect (#1676).Gravatar Matt Schatz2019-07-041-1/+10
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-3/+3
|/
* Rewrite m_denychans.Gravatar Peter Powell2018-04-171-66/+120
| | | | | | | | | | | - The configuration is now validated on ReadConfig and parsed into objects. - Allow redirecting to channels that don't yet exist. There is no technical reason to not allow this and I believe that it would be a lot less confusing to users if we allowed this. - Flatten a bunch of nested if statements.
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | parameters
* Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\
| * Fix copy/paste error in m_denychans.Gravatar Peter Powell2014-06-241-1/+1
| |
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-2/+2
| | | | | | | | automatically
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-5/+5
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-6/+0
| |
* | Replace hardcoded mode letters, part 2Gravatar attilamolnar2013-07-191-1/+8
| | | | | | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Remove the size argument from IsChannel and IsNick.Gravatar Peter Powell2013-05-181-2/+2
| | | | | | | | | | There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
* | 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 method for writing server notices.Gravatar Peter Powell2013-05-141-2/+2
| | | | | | | | | | | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
* | Channel::JoinUser() and Channel::ForceChan() changesGravatar attilamolnar2013-04-131-2/+2
| | | | | | | | | | | | Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS
* | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*Gravatar attilamolnar2013-04-131-1/+1
| |
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-1/+1
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-4/+0
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-4/+4
|/ | | | Channel::JoinUser() to std::string from char*
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+2
|
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-16/+18
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|