mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_account_activity: Fix required module names
This commit is contained in:
parent
54b77fd3ca
commit
6b6707efe5
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
local jid = require "util.jid";
|
||||
local jid = require "prosody.util.jid";
|
||||
local time = os.time;
|
||||
|
||||
local store = module:open_store(nil, "keyval+");
|
||||
|
@ -57,9 +57,9 @@ module:add_item("shell-command", {
|
|||
local lastlog2 = module:open_store("lastlog2", "keyval+");
|
||||
local n_updated, n_errors, n_skipped = 0, 0, 0;
|
||||
|
||||
local async = require "util.async";
|
||||
local async = require "prosody.util.async";
|
||||
|
||||
local p = require "util.promise".new(function (resolve)
|
||||
local p = require "prosody.util.promise".new(function (resolve)
|
||||
local async_runner = async.runner(function ()
|
||||
local n = 0;
|
||||
for username in lastlog2:items() do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue