print("\t\t"..k)
end
end
-for k,v in pairs(ircd.channel_map) do
+for k,v in pairs(channel_map) do
print("Channel "..k)
if k ~= v.name then
print("\tName: "..tostring(v.name))
dofile "lua/init.lua"
client_notice(client, "done")
end
+setmetatable(_G, getmetatable(ircd))
if not managed_hooks then
managed_hooks = {}
end
end
end
function commands.joinall(client, source, command, args)
- for k, v in pairs(ircd.channel_map) do
+ for k, v in pairs(channel_map) do
channel_join(client, k, true)
end
end