diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-01 18:34:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-01 18:34:19 +0000 |
commit | f505e1821bf0b6e3c36df4bab8e3a4f3d1710dfd (patch) | |
tree | 7aada963984af8f5c44ef4cede2d2e14a2ec662c /include/inspircd.h | |
parent | 6c6d83a21718b342c4f615dcca4093d06638f9fb (diff) |
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
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |