aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-06-161-1/+1
|
* Add an undocumented build option for unlimiting the main loop.Gravatar Sadie Powell2023-05-201-5/+6
| | | | This should never be used normally but is useful for irctest.
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2022-08-251-1/+1
|
* Also use binary exit codes in places that terminate abruptly.Gravatar Sadie Powell2022-07-191-7/+7
| | | | This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
* Fix some compiler warnings on i386.Gravatar Sadie Powell2022-05-251-1/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
|
* Fix argv index error in 'unknown option' message.Gravatar Valentin Lorentz2021-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like ya_getopt increments `optind` between reading the argument and returning. Before: ``` $ ./build/GCC-8.3/bin/inspircd --foo bar Error: unknown option 'bar'. $ ./build/GCC-8.3/bin/inspircd --help Error: unknown option '% ``` After: ``` $ ./build/GCC-8.3/bin/inspircd --foo bar Error: unknown option '--foo'. Usage: ./build/GCC-8.3/bin/inspircd [--config <file>] [--debug] [--nofork] [--nolog] [--nopid] [--runasroot] [--version] $ ./build/GCC-8.3/bin/inspircd --help Error: unknown option '--help'. Usage: ./build/GCC-8.3/bin/inspircd [--config <file>] [--debug] [--nofork] [--nolog] [--nopid] [--runasroot] [--version] ```
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-5/+5
|
* Fix not being able to colour format output to stderr on Windows.Gravatar Sadie Powell2021-03-031-19/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-2/+2
|
* Duplicate the stdout file handle when used for logging.Gravatar Sadie Powell2021-02-011-1/+2
| | | | | Failure to do this may result in a crash on shutdown when started in debug mode.
* Fix showing the start header when using --version.Gravatar Sadie Powell2021-01-181-2/+2
|
* Add a new runtime directory and move the pid file to it.Gravatar Sadie Powell2021-01-181-1/+1
| | | | | | | The data directory is intended for persistent files whereas the pid file is ephemeral. This distinction doesn't matter by default but on system-wide installs ephemeral runtime files go in /var/run or /run instead.
* Fix an off by one error in the "unknown option" message.Gravatar Sadie Powell2020-11-031-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-07-301-0/+1
|
* Minor typo correction.Gravatar Matt Schatz2020-07-011-1/+1
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-3/+3
|
* Fix clock skip warnings being inverted.Gravatar Sadie Powell2020-03-301-1/+1
|
* Extract time skip warning code to a static function.Gravatar Sadie Powell2020-02-191-11/+16
|
* Make loading modules considerably more robust and user friendly.Gravatar Sadie Powell2020-02-021-1/+0
|
* Move DeleteZero to stdalgo::delete_zero.Gravatar Sadie Powell2020-01-191-12/+3
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-7/+11
|
* Bind ports before loading modules.Gravatar Sadie Powell2020-01-031-2/+2
| | | | | This fixes a defect introduced in ce7979bd7d where the ircv3_sts module was unable to find the SSL listener.
* Extract port binding code to a function and improve output.Gravatar Peter Powell2019-12-121-16/+26
|
* Make BindPorts return size_t instead of int.Gravatar Peter Powell2019-12-091-2/+2
|
* Make ForkIntoBackground handle exiting by itself.Gravatar Peter Powell2019-12-091-10/+5
|
* Extract command line option parsing to a function.Gravatar Peter Powell2019-12-091-68/+78
|
* Fix indentation of CheckRoot() and error in non-interactive mode.Gravatar Peter Powell2019-12-091-10/+19
|
* Improve behaviour when running as root.Gravatar Peter Powell2019-12-081-18/+20
| | | | | | | | - Only give the annoying message about root if --runasroot is not specified. - If --runasroot is specified then assume the user knows what they are doing. - Move CheckRoot to a static function in inspircd.cpp.
* Show the header before checking if the config file exists.Gravatar Peter Powell2019-12-081-5/+4
|
* Initialise Winsock from inside the socket engine.Gravatar Peter Powell2019-12-081-6/+2
|
* Extract config file finding code to a function.Gravatar Peter Powell2019-12-081-17/+23
|
* Extract performance stat code to a function.Gravatar Peter Powell2019-12-081-20/+27
|
* Move XLine garbage collection to core_xline.Gravatar Peter Powell2019-12-081-7/+0
|
* Increase the core dump size earlier in the process lifetime.Gravatar Peter Powell2019-12-081-2/+1
| | | | | According to `man 2 getrlimit` resource limits are inherited by the child when a process forks.
* Call RecoverFromFork from ForkIntoBackground.Gravatar Peter Powell2019-12-081-1/+1
|
* Convert InspIRCd::SetSignals to a static function.Gravatar Peter Powell2019-12-081-16/+19
|
* Move forking code into a function and remove DaemonSeed.Gravatar Peter Powell2019-12-081-41/+41
|
* Extract the core dump size increasing code to a function.Gravatar Peter Powell2019-12-081-12/+19
|
* Make the UpdateTime function easier to read.Gravatar Peter Powell2019-12-081-9/+8
|
* Extract root dropping code to a function.Gravatar Peter Powell2019-12-081-48/+53
|
* Extract rng initialisation code to a function.Gravatar Peter Powell2019-12-081-4/+11
|
* Move various static functions into an anonymous namespace.Gravatar Peter Powell2019-12-081-10/+15
|
* Clean up the initialisation of the InspIRCd class.Gravatar Peter Powell2019-12-081-24/+15
|
* Add an event which is fired when the server shuts down.Gravatar Peter Powell2019-10-171-1/+4
|
* Fix not expanding <pid:file> correctly.Gravatar Peter Powell2019-07-031-3/+1
|
* Deduplicate dirent.h inclusion.Gravatar Peter Powell2019-06-201-1/+0
|