summaryrefslogtreecommitdiff
path: root/src/init.cpp
AgeCommit message (Collapse)Author
2025-05-24Convert Anope::Debug to an unsigned value.Sadie Powell
2025-05-16Only allow one instance of Anope at once.Sadie Powell
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-19Improve logging about the protocol module on startup.Sadie Powell
2025-03-12Save the databases on SIGUSR1.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-19Remove some code that should have been removed in the merge.Sadie Powell
2024-11-19Only process sockets after loading the db when using db_sql{_live}.Sadie Powell
This avoids slow startups for the 95% of users who are using the db_flatfile database backend.
2024-11-16Process all socket events before connecting to the uplink.Sadie Powell
This ensures that the SQL import actually succeeds before we do something that might terminate the process.
2024-11-12Process all socket events before connecting to the uplink.Sadie Powell
This ensures that the SQL import actually succeeds before we do something that might terminate the process.
2024-11-07Fix some compiler warnings from not checking chdir.Sadie Powell
2024-10-13Merge branch '2.0' into 2.1.Sadie Powell
2024-10-13Update the IRC server to point to Teranova.Sadie Powell
2024-05-23Clarify that one non-deprecated protocol module must be loaded.Sadie Powell
2024-05-22Change --modulesdir to be singular like the other config options.Sadie Powell
2024-04-04Log the services directory when chdiring to it.Sadie Powell
2024-04-02Use the paths from the build system instead of hardcoding them.Sadie Powell
2024-03-20Add the --nopid option to disable writing a pidfile.Sadie Powell
This is useful for init scripts that don't fork.
2024-03-20Fix deleting pidfiles.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-03-19Allow using absolute paths in more places.Sadie Powell
2024-03-18Fix not storing the start time after calling UpdateTime.Sadie Powell
2024-03-18Use clock_gettime if it is available.Sadie Powell
2024-03-12Require that at least one encryption module is loaded.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-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-02-29Rework some platform compatibility code.Sadie Powell
2024-02-27Fix write_pidfile on Windows.Sadie Powell
Microsoft's documentation lies again.
2024-02-26Use fstream for accessing files where possible.Sadie Powell
2024-02-25Kill checks for obsolete versions of Windows.Sadie Powell
Because of the required system functionality Anope will not build or run on these systems anyway.
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-06Use auto in places where the type is unambiguous.Sadie Powell
2024-01-05Use normal exit codes when exiting the process.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2024-01-04Fix a typo in GetCommandLineArgument.Sadie Powell
2023-10-11Start migrating to range-based for loops.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-01-12Merge branch '2.0' into 2.1.Sadie Powell
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-04Use C++11 header names instead of their deprecated equivalents.Sadie Powell
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2021-08-01Merge branch '2.0' into 2.1.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.