Skip to content
Snippets Groups Projects
Commit 5f76d637 authored by echicken's avatar echicken
Browse files

Instead of loading undefined*.js a whole bunch of times, make 'dir'

a thing and load stuff from there instead.
parent 95c49661
No related branches found
No related tags found
No related merge requests found
......@@ -103,13 +103,13 @@ function init_servers(config) {
lib.push(removeSpaces(lib_list[l]));
}
}
var dir=backslash(config.iniGetValue(mysec,"dir"));
var load_list=directory(dir+"*.js");
for(var l in load_list) {
lib.push(load_list[l]);
}
var dir=backslash(config.iniGetValue(mysec,"dir"));
var global=config.iniGetValue(mysec,"global");
var channels=parse_channel_list(config.iniGetValue(mysec, "channels"));
for(var c in channels) {
......
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