]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Improve behaviour when running as root.
authorPeter Powell <petpow@saberuk.com>
Sun, 8 Dec 2019 23:08:57 +0000 (23:08 +0000)
committerPeter Powell <petpow@saberuk.com>
Sun, 8 Dec 2019 23:08:57 +0000 (23:08 +0000)
commitcca482b0061d43818e176c427616b0f6a4a86387
tree747163c6cb3e2ec6ea5f93e68a65b8936aa143f5
parentbd20bdda21a242f0a54da327bf08049562078a9b
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.
include/exitcodes.h
include/inspircd.h
src/helperfuncs.cpp
src/inspircd.cpp