These are old archives. They are kept for historic purposes only.
5 posts • Page 1 of 1
Obviously we can't specify the name of unrealircd.conf in the config file as we have to know that info first ;P Additionally, these would likely need to be placed so they are parsed first or at least early. I don't really think they need to be compulsory. It can be made so that if the file isn't specified in the config file then it defaults to something sane. That makes the new feature backwards compatible and only those that want to change the name of the file(s) can. Although users can already edit config.h without voiding their support, many just don't need to be or don't feel comfortable doing so.
Also I've requested this feature already for those that wish to follow it. http://bugs.unrealircd.org/view.php?id=4027&nbn=1
Code: Select all
#define MPATH "ircd.motd" /* server MOTD file */ #define SMPATH "ircd.smotd" /* short MOTD file */ #define RPATH "ircd.rules" /* server rules file */ #define OPATH "oper.motd" /* Operators MOTD file */ #define LPATH "debug.log" /* Where the debug file lives, if DEBUGMODE */ #define PPATH "ircd.pid" /* file for server pid */ #define VPATH "ircd.svsmotd" /* Services MOTD append. */ #define BPATH "bot.motd" /* Bot MOTD */ #define IRCDTUNE "ircd.tune" /* tuning .. */
My CodeFu is not that strong, Master GrassHopper! I can likely make them ./Config options easily enough ... just not config file values.Stealth wrote:Hint: someone needs to start making patches and attach them to the bug report requesting this.