Skip to content
Snippets Groups Projects
Commit 1eb9dd3b authored by deuce's avatar deuce
Browse files

Don't use "load/" in load paths... that currently breaks mods/load support.

PS: DigitalMan, using load("load/lib.js") doesn't work with the mods dir.
parent 0d7ef99c
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ for (cmdarg=0;cmdarg<argc;cmdarg++) { ...@@ -53,7 +53,7 @@ for (cmdarg=0;cmdarg<argc;cmdarg++) {
var config = new File(system.ctrl_dir + config_filename); var config = new File(system.ctrl_dir + config_filename);
function init() { function init() {
load("load/ircbot_functions.js"); load("ircbot_functions.js");
if (!config.open("r")) { if (!config.open("r")) {
exit("Couldn't open config file!"); exit("Couldn't open config file!");
...@@ -77,7 +77,7 @@ function init() { ...@@ -77,7 +77,7 @@ function init() {
config.close(); config.close();
load("load/ircbot_commands.js"); load("ircbot_commands.js");
} }
function init_servers(config) { function init_servers(config) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment