summaryrefslogtreecommitdiff
path: root/src/channels.cpp
AgeCommit message (Collapse)Author
2024-03-12Fix the reason when kicking users from suspended channels.Sadie Powell
Closes #372.
2024-02-26Remove several string format IRCDProto function overloads.Sadie Powell
2024-02-26Fix some coding style issues.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-08Add a string overload of Channel::Kick.Sadie Powell
2024-01-08Add a string overload of Channel::SetModes.Sadie Powell
2024-01-06Use auto in places where the type is unambiguous.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-20Merge branch '2.0' into 2.1.Sadie Powell
2023-12-17Misc grammar fixes.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-06-03Merge branch '2.0' into 2.1.Sadie Powell
2023-05-28regchannels: remove dependency on no-delete-null-pointer-checksAdam
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-12-09Use emplace() instead of insert(std::make_pair()).Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2021-11-30Remove undefined behaviour around checking if this is null.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-02-21Unwrap mode changes in RemoveMode before checking if it is set, fixes ↵Adam
os_mode not being able to remove extbans etc
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-12-22Move log messages for status mode change for unknown user to debugAdam
2016-03-19Also defer channel deletion when processing sjoinsAdam
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-09-17Defer channel deletion until after i/o. There are some edge cases with ↵Adam
events kicking users mid-event that can delete them.
2015-09-06Merge pull request #126 from SaberUK/2.0+typosAdam
Fix a ton of typos.
2015-09-06Don't unset modes which have no privilege associated with themAdam
2015-07-13Unset extensibles on larger objects when they destructAdam
Some complex extensibles require the full object to still be alive in their destructors to keep proper bookkeeping
2015-07-08Fix a ton of typos.Peter Powell
2015-01-28More properly track topic change sources and allow users with access to ↵Adam
change topics through topiclock
2015-01-10Always use source name when logging server kicksAdam
2014-08-24Change Channel::GetModeList to return a copy of the mode list, not aAdam
pair of lower/upper bound iterators. Sometimes when iterating the list, like in cs_mode, we can modify the contents of it, which combined with mlock always agressively trying to readd modes to it can do bad things.
2014-07-15Check modetimes in CheckModes before enabling bouncy modesAdam
2014-05-13Sanitize nuh masks more to prevent the other side from rewriting them, which ↵Adam
screws with our internal tracking of them
2014-04-25Add "virtual mode" supportAdam
This allows fully tracking extbans and other modes set by a different underlying mode, such as InspIRCd's namedmodes Add two configuration options to cs_ban to configure which mode is set and whether or not to kick banned users. Add default "mute" fantasy command to botserv.example.conf
2014-03-20Make bouncymodes harder to trigger by only bumping server modcount when ↵Adam
something changes
2014-03-14Mark all channels as syncing when we connect to our uplink. They willAdam
finish syncing later when the uplink syncs. Normally the channel state is fully synced here anyway, except if we do not know the modes the uplink has yet. Also fix a related issue with resetting chanels and bouncing modes on our clients, if this is done prior to knowing which modes exist it would silently fail.
2014-03-04Fix 2 crashes from removing the permanent channel mode from channels which ↵Adam
do not exist
2014-02-27Do not take modes from users in channels with secureops off if we are always ↵Adam
lowering channels timestamps to their creations
2014-02-14Do not sync channels in Channel::Reset if they are in the middle of syncing, ↵Adam
and checkmodes in Channel::Sync. Fixes channel modes sometimes not being set if always_lower_ts is on
2014-02-09Add an opertype priv "protected" to not allow services to kick a user.Adam
Also classify ulines as protected
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-11-16Use the source's sync state and not mine when processing sjoins to determine ↵Adam
whether or not to sync the channel on creation, instead sync it when the server syncs.
2013-11-01Don't take modes in SetCorrectModes if the user has the ME privilegeAdam
2013-09-03Dont allow multiple list modes with the same param on the mode list at onceAdam