From f505e1821bf0b6e3c36df4bab8e3a4f3d1710dfd Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 1 Apr 2007 18:34:19 +0000 Subject: Add -config parameter to bin/inspircd which allows a user to specify the config file on the commandline Note: This should really be a full pathname, and not a configuration file in the current directory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6726 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index 984122a18..48560bab6 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -449,6 +449,10 @@ class InspIRCd : public classbase */ time_t startup_time; + /** Config file pathname specified on the commandline or via ./configure + */ + char ConfigFileName[MAXBUF]; + /** Mode handler, handles mode setting and removal */ ModeParser* Modes; -- cgit v1.2.3