Fixed: Some modules did not return anything
authorWaqas Hussain <waqas20@gmail.com>
Thu, 23 Oct 2008 13:42:29 +0000 (18:42 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Thu, 23 Oct 2008 13:42:29 +0000 (18:42 +0500)
core/offlinemessage.lua
util/datamanager.lua

index dda9b7d878e68086d77c56f8c20608a65f1ea67e..ebb357ba475a089b20d9a422285aa3b61b82d3aa 100644 (file)
@@ -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
index f4ae958c702e5b4ec36aa9550e6785b3c00c18c8..43e23dc32af634de8d4ce1b229cf281700e91904 100644 (file)
@@ -93,3 +93,4 @@ function store(username, host, datastore, data)
        return true;
 end
 
+return _M;
\ No newline at end of file