X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspircd.h;h=5e5ebce421518d7e4f45433c7253cad470b3d145;hb=48103a05e75dc208bcd01b62b19ae01158c01b50;hp=13a94331ac664ef83ef8235f315eac9044c68a02;hpb=d62febcf8fe60caefce741c7b531bfeda4eb0ec3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspircd.h b/include/inspircd.h index 13a94331a..5e5ebce42 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -31,18 +31,16 @@ #define CUSTOM_PRINTF(STRING, FIRST) #endif -#ifndef PATH_MAX -#define PATH_MAX 4096 -#endif - // Required system headers. #include #include #include #include #include +#include #include "inspircd_config.h" +#include "numerics.h" #include "uid.h" #include "users.h" #include "channels.h" @@ -65,6 +63,11 @@ #include "inspstring.h" #include "protocol.h" +#ifndef PATH_MAX +#warning Potentially broken system, PATH_MAX undefined +#define PATH_MAX 4096 +#endif + /** * Used to define the maximum number of parameters a command may have. */ @@ -272,12 +275,7 @@ class CoreExport ConfigReaderThread : public Thread * classbase. Amongst other things, it contains a ModeParser, * a DNS object, a CommandParser object, and a list of active * Module objects, and facilities for Module objects to - * interact with the core system it implements. You should - * NEVER attempt to instantiate a class of type InspIRCd - * yourself. If you do, this is equivalent to spawning a second - * IRC server, and could have catastrophic consequences for the - * program in terms of ram usage (basically, you could create - * an obese forkbomb built from recursively spawning irc servers!) + * interact with the core system it implements. */ class CoreExport InspIRCd : public classbase {