aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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