aboutsummaryrefslogtreecommitdiffstats
path: root/eatit.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-07-16 20:41:43 -0400
committerSquibid <me@zacharyscheiman.com>2023-07-16 20:41:43 -0400
commit80de336bdbb7194ad4e2d5475d76b25f01c2cdcd (patch)
treea900a5d1788a30cb2dc1c6b7addfcaa23b9a2a37 /eatit.lua
parentbe22f546355ffb07a53997006097069b534cb169 (diff)
downloadeat-it-80de336bdbb7194ad4e2d5475d76b25f01c2cdcd.tar.gz
eat-it-80de336bdbb7194ad4e2d5475d76b25f01c2cdcd.tar.bz2
eat-it-80de336bdbb7194ad4e2d5475d76b25f01c2cdcd.zip
remove cfg option. it was useless, and the lssi module can do...v1.0
everything it does better, and faster
Diffstat (limited to 'eatit.lua')
-rw-r--r--eatit.lua15
1 files changed, 0 insertions, 15 deletions
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)