aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Deduplicate dirent.h inclusion.Gravatar Peter Powell2019-06-201-1/+0
* Ignore SIGUSR1 and SIGUSR2 by default.•••This stops users from accidentally killing their IRC server if they forget to load the sslrehashsignal module. Gravatar Peter Powell2019-05-301-2/+3
* Quit users during cleanup instead of when /DIE is executed.Gravatar Peter Powell2019-02-051-0/+6
* Delete the old broken test suite.•••This doesn't work properly and is disabled in both debug & release builds. It will be resurrected with a proper unit testing framework in the future. Gravatar Peter Powell2019-02-051-26/+0
* Move the <disabled> tag out of the core to a new module.Gravatar Peter Powell2019-01-241-1/+0
* Add an option for changing the allowed server clock drift.Gravatar Peter Powell2018-12-041-7/+8
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-0/+10
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-071-2/+2
* Allow relative paths to be passed in --config on boot.•••Closes #1115. Gravatar Peter Powell2018-06-251-1/+10