projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util.datamanager: In append() collect status when closing file handle as it may fail...
[prosody.git]
/
util
/
timer.lua
diff --git
a/util/timer.lua
b/util/timer.lua
index 0e10e144e9746ed0f974be58605fb1fb43dc19ae..3713625db3d6cbcb3d2c78fe5ff79c95aff13b79 100644
(file)
--- a/
util/timer.lua
+++ b/
util/timer.lua
@@
-17,7
+17,7
@@
local type = type;
local data = {};
local new_data = {};
-module "timer"
+local _ENV = nil;
local _add_task;
if not server.event then
@@
-78,6
+78,6
@@
else
end
end
-add_task = _add_task;
-
-
return _M
;
+return {
+ add_task = _add_task;
+
}
;