aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-23 18:42:29 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-23 18:42:29 +0500
commitbf97de7a750ca14bd284ac3a8f3c56d2f5f6437c (patch)
treec054683f0cd6752a288f77f02e5851bc9f0f5eaa
parentcafc6f8adadc97954b7c1ce18ee617d40322f474 (diff)
downloadprosody-bf97de7a750ca14bd284ac3a8f3c56d2f5f6437c.tar.gz
prosody-bf97de7a750ca14bd284ac3a8f3c56d2f5f6437c.zip
Fixed: Some modules did not return anything
-rw-r--r--core/offlinemessage.lua2
-rw-r--r--util/datamanager.lua1
2 files changed, 3 insertions, 0 deletions
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