Fixed: util/jid.lua now returns module object
authorWaqas Hussain <waqas20@gmail.com>
Tue, 14 Oct 2008 04:54:49 +0000 (09:54 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Tue, 14 Oct 2008 04:54:49 +0000 (09:54 +0500)
util/jid.lua

index 28dd1a926868b9ffc934522baf9a41cb4c2d8c4b..784d2b645739eb2bd62aaa55a18ef353d5dfc049 100644 (file)
@@ -10,3 +10,5 @@ function split(jid)
        local resource = match(jid, "/(.+)$");
        return node, server, resource;
 end
+
+return _M;
\ No newline at end of file