aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-09-12 03:41:31 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-09-12 03:41:31 +0500
commit174cad9a166bf5bbd028c5f9e2f39033b5699930 (patch)
treeccbbd75eccc170b5c7ddd262bce15dc43b6c2592
parent62c0ea3c73a44d3dfb20261f137287b6f6364294 (diff)
downloadprosody-174cad9a166bf5bbd028c5f9e2f39033b5699930.tar.gz
prosody-174cad9a166bf5bbd028c5f9e2f39033b5699930.zip
mod_offline: Fixed undefined global access.
-rw-r--r--plugins/mod_offline.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua
index c9acf9e6..c74d011e 100644
--- a/plugins/mod_offline.lua
+++ b/plugins/mod_offline.lua
@@ -10,7 +10,8 @@
local datamanager = require "util.datamanager";
local st = require "util.stanza";
local datetime = require "util.datetime";
-local ipairs = ipairs;
+local ipairs = ipairs;
+local jid_split = require "util.jid".split;
module:add_feature("msgoffline");