summaryrefslogtreecommitdiff
path: root/src/messages.cpp
AgeCommit message (Collapse)Author
2024-10-22Replace usestrictprivmsg with something actually useful.Sadie Powell
Every IRC server we support (other than Bahamut which is probably on the chopping bock) uses UIDs so this setting does nothing. Instead, allow configuring a server-side alias for each service and use that when servicealias is enabled.
2024-10-02Change User::SetModesInternal to take a split mode change.Sadie Powell
2024-10-02Change Channel::SetModesInternal to take a split mode change.Sadie Powell
2024-08-21Improve the CTCP version output.Sadie Powell
2024-06-24Rework how CTCP messages are sent and received.Sadie Powell
2024-03-19Use paths relative to data/conf in the config file.Sadie Powell
This was done in some places already but not consistently. Closes #349.
2024-02-29Add names for the numerics used by the core.Sadie Powell
2024-02-26Use fstream for accessing files where possible.Sadie Powell
2024-02-22Route message tags into more message functions.Sadie Powell
2024-02-22Rework SendNumericInternal to be usable with Uplink::Send.Sadie Powell
2024-01-08Add a non-formatting overload of User::SetModesInternal.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Merge branch '2.0' into 2.1.Sadie Powell
2023-12-08messages: fix incorrect format specifierMingjie Shen
Calling a printf-like function with the wrong type of arguments causes unpredictable behavior. Signed-off-by: Mingjie Shen <shen497@purdue.edu>
2023-10-11Start migrating to range-based for loops.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-09Add a "Network Service" (RPL_WHOISOPERATOR) line to WHOIS repliesk4be
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Update more IRCServices references to reflect the current project.Sadie Powell
- If referring to the specific piece of software use "Anope". - If referring to services in general use "services".
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2021-02-18Merge branch '2.0' into 2.1.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-09-28Remove the non-tagged version of IRCDMessage::Run.Sadie Powell
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-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-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-17Channel::DeleteUser delets the containerAdam
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-01-28More properly track topic change sources and allow users with access to ↵Adam
change topics through topiclock
2015-01-10Log user away messagesAdam
2014-12-28Replace spaces in opertypes with underscores in stats oAdam
2014-12-05Update Kill() calls to pass source pointer instead of nameAdam
2014-10-12Squit uplink when I receive an squit for myselfAdam
2014-08-03Fix stats u on WindowsAdam
2014-05-21Core prep for p10 stuffAdam
2014-05-20Speed up akill xline checksAdam
Cache xline nick, user, host, etc instead of rebuilding it everytime its requested. Store users ip in sockaddr form and not string form to prevent having to rebuild sockaddrs when checking xlines. Also do not try to convert empty config values in Config::Get as this can be rather common if a non string configuration value is not set, and the cost of the ConvertException is great.
2014-04-25Don't allow users to join channels they are already inAdam
2014-02-27Handle nick collisions somewhat instead of blindly overwriting the nicksAdam
in memory, which does weird things. For fun different ircds implement this differently (Unreal compares timestamps, TS6 compares timestamps and user username/host), and whether or not we get a kill for our user also varies, so just kill everyone. This can't really happen anyway with properly set qlines, only if services haven't yet set the qlines, or possibly in a bot add/nick user introduce race, or with enforcers, which not many ircds require.
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-12-31I don't think this OnBotKick to hold channels is necessary anymore as Sync ↵Adam
should cover everything now, and this causes weird things when the last user in a channel kicks themselves out using the bot. Also handle users rejoining a channel while its held better.
2013-12-19Fix a few commands not being able to find non conf opersAdam
2013-11-20OnJoinChannel can modify the ts for a channel, so update keep_their_modes in ↵Adam
the sjoin handler before processing a user. Otherwise we can desync and think users have a channel status when they really don't.
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-10-09Call OnBotPrivmsg after checking if the message is a ctcp, not before. fix ↵Adam
typo in opersrev.example.conf