aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix a typo in a help message.Gravatar Sadie Powell2025-01-171-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2023-06-161-1/+1
* Add an undocumented build option for unlimiting the main loop.•••This should never be used normally but is useful for irctest. Gravatar Sadie Powell2023-05-201-5/+6
* 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.•••This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd. Gravatar Sadie Powell2022-07-191-7/+7
* 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.•••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] ``` Gravatar Valentin Lorentz2021-08-101-1/+1
* 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.•••Failure to do this may result in a crash on shutdown when started in debug mode. Gravatar Sadie Powell2021-02-011-1/+2
* 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.•••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. Gravatar Sadie Powell2021-01-181-1/+1
* 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.•••This fixes a defect introduced in ce7979bd7d where the ircv3_sts module was unable to find the SSL listener. Gravatar Sadie Powell2020-01-031-2/+2
* 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.•••- 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. Gravatar Peter Powell2019-12-081-18/+20
* 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.•••According to `man 2 getrlimit` resource limits are inherited by the child when a process forks. Gravatar Peter Powell2019-12-081-2/+1
* 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