summaryrefslogtreecommitdiff
path: root/include/users.h
AgeCommit message (Collapse)Author
2024-06-03Avoid NickAlias lookups by storing a pointer in the NickCore.Sadie Powell
2024-03-09Rename hash_map to unordered_map to match the underlying container.Sadie Powell
2024-02-29Fix some oversights from previous commits.Sadie Powell
2024-02-29Rip out ns_access and related code.Sadie Powell
This is wildly insecure and has been disabled by default for at least a decade.
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-26Extract should privmsg logic to its own function.Sadie Powell
2024-02-22Add the IRCv3 reply tag to messages sent as responses to a user.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-08Add a string overload of User::SetModes.Sadie Powell
2024-01-08Add a non-formatting overload of User::SetModesInternal.Sadie Powell
2024-01-08Mark format strings with the GNU printf attribute.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.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-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Consistently use #pragma once across all header files.Sadie Powell
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
2022-01-03Replace anope_{final,override} with their C++11 equivalent.Sadie Powell
2021-08-01Deduplicate code for checking if a user is securely connected.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
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-12-14Fix a bunch of broken indentation.Peter Powell
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-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-22Make User::Mask behave more like 1.8Adam
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-07-08Fix a ton of typos.Peter Powell
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-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-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-08-31add vhost support for hybridDukePyrolator
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-21Move SendLogin() back to User::Identify, it was moved at some point? but ↵Adam
doesn't as intended in ::Login
2013-06-19Set vhosts when users id to an account (and not a nick), add account arg to ↵Adam
user ctor to ease handling users who connect already identified
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-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-08Check the channel secure option isn't set in ChannelInfo::AccessFor tooAdam
2013-04-07Optimizations of much of the more commonly used codeAdam
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-03Don't delete users immediately when quit or killed, instead wait until ↵Adam
message processing is done
2012-12-28Use the same object for chanusercontainer and userchancontainerAdam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-06Use std::tr1::unordered_map for a few of the larger mapsAdam
2012-10-14Better clarify signon vs timestamp and allow updating users timestamp to an ↵Adam
ircd given value from NICK
2012-10-01Cleanup of all of the protocol modules, rewrote message handling system to ↵Adam
be a bit more C++ ish