summaryrefslogtreecommitdiff
path: root/include/config.h
AgeCommit message (Collapse)Author
2025-04-19Get rid of the internal block wrapper.Sadie Powell
This only existed for compatibility with old 2.0 modules and 2.1 has already broken compatibility with them.
2025-03-09Fix a forward declaration on Clang.Sadie Powell
2025-03-09Make config variables a lot more useful.Sadie Powell
- Config variables now no longer conflict with regular values. - Config variables can now be read from the environment. (e.g. ${env.USER}). - Config variables can now be used as partial values (e.g. support@${network.domain})
2025-03-02Add a helper method for getting a description of an uplink.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-11-24Take a constant pointer in GetModule.Sadie Powell
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-22Move nickserv/set/message to a new module, kill options:useprivmsg.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-03-09Clean up the services.h includes.Sadie Powell
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-25Remove a function which exists for compat with old versions of VS.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-22Mark all exception types as CoreExport.Sadie Powell
From the GCC docs: >Exception catching of a user defined type in a binary other than >the one which threw the exception requires a typeinfo lookup. Closes #335.
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.Sadie Powell
2023-06-03Merge branch '2.0' into 2.1.Sadie Powell
2023-05-28config: remove dependency on no-delete-null-pointer-checksAdam
2023-05-04Avoid returning null when a config tag does not exist.Sadie Powell
This invokes undefined behaviour on modern compilers.
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-12-17Add support for linking over UNIX sockets.Sadie Powell
2022-03-01Use noexcept instead of an empty exception specifier.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-04Use C++11 default initializers and destructors where possible.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2021-11-30Remove undefined behaviour around checking if this is null.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-08-05Use full path to file for conf.cpp file could not be opened error messageAdam
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-01-10Add networkinfo:nick_chars option to allow configuring additional characters ↵Adam
allowed in nicknames
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-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-04-06Do not apply module changes on rehash until after the new config has been ↵Adam
applied. Fix renaming opertypes on reload.
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-19Don't leak opers and opertypes on /os reload, fix not updating opertypes on ↵Adam
non conf opers on rehash
2013-06-19Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of ↵Adam
usestrictprivmsg
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.