comparison plugins/sql.lib.lua @ 5495:d5b07342fccf

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 18 Apr 2013 11:14:16 +0100
parents 9916f0a2d178
children
comparison
equal deleted inserted replaced
5493:307c4b1259b3 5495:d5b07342fccf
1 local cache = module:shared("/*/sql.lib/util.sql");
2
3 if not cache._M then
4 prosody.unlock_globals();
5 cache._M = require "util.sql";
6 prosody.lock_globals();
7 end
8
9 return cache._M;