summaryrefslogtreecommitdiff
path: root/src/channels.cpp
AgeCommit message (Collapse)Author
2024-02-17Update the copyright headers for 2024.Sadie Powell
2023-12-17Misc grammar fixes.Sadie Powell
2023-05-28regchannels: remove dependency on no-delete-null-pointer-checksAdam
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-06Update the copyright headers for 2022.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
2013-08-25Fix not resetting channel status modes on our clients when a channel ts lowersAdam
2013-08-25Create persistent channels on startup, which used to work and got lost somewhereAdam
Fix some oddities with using persistent channels with no botserv Send list modes to uplink when bursting Fix issues with persist + keepmodes Fix /os modes clear all not clearing all status modes Fix operwall on ratbox/plexus Dont apply mlock in SetCorrectModes since that just recursively calls itself unncessarially Change command logging to show the command name and not the service name
2013-08-22Fix previous commitAdam
2013-08-22Always set +o on users who have access for it, even if higher modes have a ↵Adam
prefix
2013-08-01Use MessageSource as the source for many IRCDProto funcsAdam
Keep track of what user modes are oper only/server only/etc
2013-07-20Fix not setting the correct compile flags on modules and fix the resulting ↵Adam
warnings
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-06-01Move OnJoinChannel event to trigger after the user has completely joined and ↵Adam
document it more about what you should and shouldnt do in it
2013-06-01Move CheckKick event to Channel and make os_forbid use it instead of kicking ↵Adam
users in the join event, which does bad things
2013-05-28Fix Channel::SetCorrectModes to never remove modes <= voice (currently ↵Adam
secureops enforces everything, inclurding voice)
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-08Fixed some issues and desyncs with creating empty permanent channels on ↵Adam
startup & dropping empty channels
2013-05-06removed an unused variableDukePyrolator