From: Waqas Hussain Date: Thu, 23 Oct 2008 13:42:29 +0000 (+0500) Subject: Fixed: Some modules did not return anything X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=40f03256ad02ec26cef867bc60a9beddb35f1cf4;p=prosody.git Fixed: Some modules did not return anything --- diff --git a/core/offlinemessage.lua b/core/offlinemessage.lua index dda9b7d8..ebb357ba 100644 --- a/core/offlinemessage.lua +++ b/core/offlinemessage.lua @@ -11,3 +11,5 @@ function new(user, host, stanza) t_insert(offlinedata, stanza); return datamanager.store(user, host, "offlinemsg", offlinedata); end + +return _M; \ No newline at end of file diff --git a/util/datamanager.lua b/util/datamanager.lua index f4ae958c..43e23dc3 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -93,3 +93,4 @@ function store(username, host, datastore, data) return true; end +return _M; \ No newline at end of file