diff --git a/Changes b/Changes index 06fe0207a..da535775b 100644 --- a/Changes +++ b/Changes @@ -901,3 +901,5 @@ seen. gmtime warning still there WTF?) - Made ./unreal generated by configure to make sure it has the correct path of the exe - Added autoconf check for setproctitle +- Added some setproctitle(.., me.name) for extra l33tness :P~ + \ No newline at end of file diff --git a/src/ircd.c b/src/ircd.c index 989f4d1c4..9ae107efd 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -1162,10 +1162,14 @@ int InitwIRCD(argc, argv) #endif SetupEvents(); loop.ircd_booted = 1; +#ifdef HAVE_SETPROCTITLE + setproctitle("%s", me.name); +#endif module_loadall(); #ifdef STATIC_LINKING l_commands_load(0); #endif + #ifndef NO_FDLIST check_fdlists(TStime()); #endif