Software /
code /
prosody
Comparison
util/pluginloader.lua @ 3411:7170aaeb582d
util.pluginloader: Remove useless datamanager dependency.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 31 Jul 2010 12:32:56 +0500 |
parent | 3410:32b018eeeb3b |
child | 4121:ea7e3f22f898 |
comparison
equal
deleted
inserted
replaced
3410:32b018eeeb3b | 3411:7170aaeb582d |
---|---|
9 | 9 |
10 local plugin_dir = CFG_PLUGINDIR or "./plugins/"; | 10 local plugin_dir = CFG_PLUGINDIR or "./plugins/"; |
11 | 11 |
12 local io_open, os_time = io.open, os.time; | 12 local io_open, os_time = io.open, os.time; |
13 local loadstring, pairs = loadstring, pairs; | 13 local loadstring, pairs = loadstring, pairs; |
14 | |
15 local datamanager = require "util.datamanager"; | |
16 | 14 |
17 module "pluginloader" | 15 module "pluginloader" |
18 | 16 |
19 local function load_file(name) | 17 local function load_file(name) |
20 local file, err = io_open(plugin_dir..name); | 18 local file, err = io_open(plugin_dir..name); |