]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Make BindPorts return size_t instead of int.
[user/henk/code/inspircd.git] / include / inspircd.h
index 56ad556d7e0d367ca604fd3708e50c6222069bf1..8f5fdc1769a9b632f07394cfc53e584b29a6f787 100644 (file)
@@ -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;
@@ -353,7 +348,7 @@ class CoreExport InspIRCd
        /** Bind all ports specified in the configuration file.
         * @return The number of ports bound without error
         */
-       int BindPorts(FailedPortList &failed_ports);
+       size_t BindPorts(FailedPortList &failed_ports);
 
        /** Find a user in the nick hash.
         * If the user cant be found in the nick hash check the uuid hash