Path: blob/main/irc/ircd-ratbox-devel/files/patch-include_config.h
14254 views
--- ./include/config.h.orig 2012-04-13 15:02:51.000000000 +01001+++ ./include/config.h 2012-04-13 15:06:23.000000000 +01002@@ -54,15 +54,17 @@3#define LOGPATH LOG_DIR4#define UHPATH HELP_DIR "/users"5#define HPATH HELP_DIR "/opers"6+#define RUNPATH "%%RUNDIR%%"7+#define DBPTH "%%DBDIR%%"89/* files */10#define SPATH BINPATH "/ircd" /* ircd executable */11#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */12-#define DBPATH ETCPATH "/ban.db"13+#define DBPATH DBPTH "/ban.db"14#define MPATH ETCPATH "/ircd.motd" /* MOTD file */15#define LPATH LOGPATH "/ircd.log" /* ircd logfile */16#define PPATH ETCPATH "/ircd.pid" /* pid file */17-#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */18+#define OPATH RUNPATH "/opers.motd" /* oper MOTD file */1920/* HANGONGOODLINK and HANGONGOODLINK21* Often net breaks for a short time and it's useful to try to222324