From 80de336bdbb7194ad4e2d5475d76b25f01c2cdcd Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 16 Jul 2023 20:41:43 -0400 Subject: remove cfg option. it was useless, and the lssi module can do... everything it does better, and faster --- eatit.lua | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'eatit.lua') diff --git a/eatit.lua b/eatit.lua index a2f2fa2..9d1805c 100644 --- a/eatit.lua +++ b/eatit.lua @@ -174,20 +174,6 @@ local function initupdate() closelog() end --- run any user defined configs at startup --- NOTE: This is kinda useless and might be removed if there is no way to make --- it run in the desired plugin's thread -local function runopts() - openlog() - for i = 1, tablelength(plugins) do - if plugins[i]['cfg'] then - logwrite('Running ' .. plugins[i]['file'] .. '\'s config') - plugins[i]['cfg']() - end - end - closelog() -end - -- remove logfile on startup if opts.logging.log then openlog() @@ -195,5 +181,4 @@ if opts.logging.log then closelog() end -runopts() mp.add_key_binding(opts.bind, 'UpdatePlugins', initupdate) -- cgit v1.2.1