projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e7704
)
Store location of config file when specified on the command line so it can be reloade...
author
Jack Allnutt
<jack@allnutt.eu>
Tue, 11 Feb 2014 18:23:57 +0000
(18:23 +0000)
committer
Jack Allnutt
<jack@allnutt.eu>
Tue, 11 Feb 2014 18:23:57 +0000
(18:23 +0000)
server/configuration.js
patch
|
blob
|
blame
|
history
diff --git
a/server/configuration.js
b/server/configuration.js
index f9ed927180fbc36652f6521c3c3d2b3db67251db..4f0ce0372c802de23a420832c3e70c6bc0149091 100644
(file)
--- a/
server/configuration.js
+++ b/
server/configuration.js
@@
-28,6
+28,9
@@
Config.prototype.loadConfig = function (manual_config_file) {
// Try load the new config file
new_config = require(manual_config_file);
+
+ // Save location of configuration file so that we can re-load it later
+ this.manual_config_file = manual_config_file;
}
} catch (e) {
console.log('An error occured parsing the config file ' + manual_config_file + ': ' + e.message);