summaryrefslogtreecommitdiff
path: root/src/xline.cpp
AgeCommit message (Collapse)Author
2025-05-16Serialize using mutable objects not immutable ones.Sadie Powell
2025-03-12Add defines for the core serialisation type names.Sadie Powell
2025-03-12Move serialization from Serializable to a Serialize::Type child.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-08-14Automatically determine SQL column type from the field.Sadie Powell
Also add more column types to ensure we are storing data in the best format in the database.
2024-03-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
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-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
2022-01-04Use C++11 style class/struct initialisation.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-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-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-11-05null xline manager when removing so removexline doesn't get calledAdam
2015-11-04Cleanup after xlines if directly removedAdam
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-24Require at least user@host format for akills. Fix XLine::GetHost() not ↵Adam
returning anything if an xline only has a host
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-10-05Fix xline uid generation when the one chosen already existsAdam
2013-09-08Fix allowing duplicate entries on the snline listAdam
Have proto mods recognize cidr ranges as zlineable IPs Remove operserv/global from global.conf because its dumb Fix example config ~botserv/set example to work as expected
2013-09-08Fix logging /os set list. Enforce snlines on ircds that can't have snlines ↵Adam
set by just killing the user. Fix double call to OnMatch() when a user matches an xline
2013-07-15Default xlines to be set by meAdam
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-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
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-02-14Switch Destroy methods to deleteAdam
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' {} \;
2012-12-13Optimize much of the database code and serialize code.Adam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other