Comparison

plugins/mod_offline.lua @ 1776:d4835b79d2ca

mod_offline: Fixed undefined global access.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 12 Sep 2009 03:41:31 +0500
parent 1522:569d58d21612
comparison
equal deleted inserted replaced
1775:5c035b7a6de1 1776:d4835b79d2ca
9 9
10 local datamanager = require "util.datamanager"; 10 local datamanager = require "util.datamanager";
11 local st = require "util.stanza"; 11 local st = require "util.stanza";
12 local datetime = require "util.datetime"; 12 local datetime = require "util.datetime";
13 local ipairs = ipairs; 13 local ipairs = ipairs;
14 local jid_split = require "util.jid".split;
14 15
15 module:add_feature("msgoffline"); 16 module:add_feature("msgoffline");
16 17
17 module:hook("message/offline/store", function(event) 18 module:hook("message/offline/store", function(event)
18 local origin, stanza = event.origin, event.stanza; 19 local origin, stanza = event.origin, event.stanza;