From: JD Horelick Date: Sat, 4 Dec 2010 22:26:14 +0000 (-0500) Subject: Remove all the DEFINE's and the random places they were used for the .conf-based... X-Git-Tag: shadowircd-6.3.0-RC1~39 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/3e742e4d22bbb504bdd0789d116da8c3a4ce3bd9 Remove all the DEFINE's and the random places they were used for the .conf-based ban stuff. --- diff --git a/include/config.h.dist b/include/config.h.dist index 04fcfdb..9baeabe 100644 --- a/include/config.h.dist +++ b/include/config.h.dist @@ -62,10 +62,6 @@ #define SPATH BINPATH "/ircd" /* ircd executable */ #define LIPATH LIBPATH "/libircd" SHARED_SUFFIX /* ircd library */ #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ -#define KPATH ETCPATH "/kline.conf" /* kline file */ -#define DLPATH ETCPATH "/dline.conf" /* dline file */ -#define XPATH ETCPATH "/xline.conf" /* xline file */ -#define RESVPATH ETCPATH "/resv.conf" /* resv file */ #define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */ #define MPATH ETCPATH "/ircd.motd" /* MOTD file */ #define LPATH LOGPATH "/ircd.log" /* ircd logfile */ diff --git a/include/m_info.h b/include/m_info.h index 8e32da4..0291aef 100644 --- a/include/m_info.h +++ b/include/m_info.h @@ -51,18 +51,6 @@ Info MyInformation[] = { {"DPATH", "NONE", 0, "Directory Containing Configuration Files"}, #endif /* DPATH */ -#ifdef DLPATH - {"DLPATH", DLPATH, 0, "Path to D-line File"}, -#else - {"DLPATH", "NONE", 0, "Path to D-line File"}, -#endif /* DLPATH */ - -#ifdef RESVPATH - {"RESVPATH", RESVPATH, 0, "Path to resv file"}, -#else - {"RESVPATH", "NONE", 0, "Path to resv file"}, -#endif - #ifdef HPATH {"HPATH", HPATH, 0, "Path to Operator Help Files"}, #else @@ -95,12 +83,6 @@ Info MyInformation[] = { {"KILLCHASETIMELIMIT", "", KILLCHASETIMELIMIT, "Nick Change Tracker for KILL"}, -#ifdef KPATH - {"KPATH", KPATH, 0, "Path to K-line File"}, -#else - {"KPATH", "NONE", 0, "Path to K-line File"}, -#endif /* KPATH */ - #ifdef LPATH {"LPATH", LPATH, 0, "Path to Log File"}, #else diff --git a/tools/Makefile.in b/tools/Makefile.in index 3ed0073..76ce4b8 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -100,7 +100,6 @@ install: install-mkdirs build fi; \ $(INSTALL_BIN) $$i $(DESTDIR)$(bindir); \ done; \ - $(RM) -f $(DESTDIR)$(bindir)/vimotd $(DESTDIR)$(bindir)/viklines + $(RM) -f $(DESTDIR)$(bindir)/vimotd $(LN) $(DESTDIR)$(bindir)/viconf $(DESTDIR)$(bindir)/vimotd - $(LN) $(DESTDIR)$(bindir)/viconf $(DESTDIR)$(bindir)/viklines diff --git a/tools/viconf.c b/tools/viconf.c index e18fc35..17c7a27 100644 --- a/tools/viconf.c +++ b/tools/viconf.c @@ -43,10 +43,6 @@ int main(int argc, char *argv[]) p = argv[0]; else p++; -#ifdef KPATH - if(strcmp(p, "viklines") == 0) - filename = KPATH; -#endif /* KPATH */ if(strcmp(p, "vimotd") == 0) filename = MPATH;