summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/exitcodes.h2
-rw-r--r--include/inspircd.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/include/exitcodes.h b/include/exitcodes.h
index b1090d141..737433def 100644
--- a/include/exitcodes.h
+++ b/include/exitcodes.h
@@ -33,7 +33,7 @@ enum ExitStatus
EXIT_STATUS_ARGV = 5, /* Invalid program arguments */
EXIT_STATUS_PID = 6, /* Couldn't write PID file */
EXIT_STATUS_SOCKETENGINE = 7, /* Couldn't start socket engine */
- EXIT_STATUS_ROOT = 8, /* Refusing to start as root */
+ EXIT_STATUS_ROOT = 8, /* DEPRECATED */
EXIT_STATUS_MODULE = 9, /* Couldn't load a required module */
EXIT_STATUS_SIGTERM = 10 /* Received SIGTERM */
};
diff --git a/include/inspircd.h b/include/inspircd.h
index 56ad556d7..f3e718dcc 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -192,11 +192,6 @@ class CoreExport InspIRCd
ClientProtocol::RFCEvents rfcevents;
- /** Check we aren't running as root, and exit if we are
- * with exit code EXIT_STATUS_ROOT.
- */
- void CheckRoot();
-
public:
UIDGenerator UIDGen;