From 1eb9dd3b2b71688b04376d900ef156e918f522e7 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 7 Jun 2012 00:10:50 +0000
Subject: [PATCH] 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.
---
 exec/ircbot.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exec/ircbot.js b/exec/ircbot.js
index 1f7c17ef8f..1c53bf7c87 100644
--- a/exec/ircbot.js
+++ b/exec/ircbot.js
@@ -53,7 +53,7 @@ for (cmdarg=0;cmdarg<argc;cmdarg++) {
 var config = new File(system.ctrl_dir + config_filename);
 
 function init() {
-	load("load/ircbot_functions.js");
+	load("ircbot_functions.js");
 
 	if (!config.open("r")) {
 		exit("Couldn't open config file!");
@@ -77,7 +77,7 @@ function init() {
 
 	config.close();
 	
-	load("load/ircbot_commands.js");
+	load("ircbot_commands.js");
 }
 
 function init_servers(config) {
-- 
GitLab