Changeset

1776:d4835b79d2ca

mod_offline: Fixed undefined global access.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 12 Sep 2009 03:41:31 +0500
parents 1775:5c035b7a6de1
children 1777:de86734d3f7f
files plugins/mod_offline.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_offline.lua	Fri Sep 11 16:33:40 2009 +0500
+++ b/plugins/mod_offline.lua	Sat Sep 12 03:41:31 2009 +0500
@@ -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");