Skip to content
Snippets Groups Projects
Commit d6bed75f authored by mcmlxxix's avatar mcmlxxix
Browse files

updateed LOAD command

parent 5407b4ba
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,11 @@ Bot_Commands["RELOAD"].command = function (target,onick,ouh,srv,lvl,cmd) { ...@@ -29,8 +29,11 @@ Bot_Commands["RELOAD"].command = function (target,onick,ouh,srv,lvl,cmd) {
load("load/ircbot_commands.js"); load("load/ircbot_commands.js");
load("load/ircbot_functions.js"); load("load/ircbot_functions.js");
for(var m in Modules) { for(var m in Modules) {
for(var l in Modules[m].lib) {
if(Modules[m].lib[l]) load(Modules[m],Modules[m].lib[l]);
}
for(var l in Modules[m].load) { for(var l in Modules[m].load) {
if(Modules[m].load[l]) load(Modules[m],Modules[m].dir + Modules[m].load[l]); if(Modules[m].load[l]) load(Modules[m],Modules[m].load[l]);
} }
} }
srv.o(target,"Reloaded."); srv.o(target,"Reloaded.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment