diff options
author | Kim Alvefur <zash@zash.se> | 2018-06-06 00:18:59 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-06-06 00:18:59 +0200 |
commit | 9c52fff28b05453dd596851c6773c87f698a597b (patch) | |
tree | 6dc0067aa8bd04f1a4792e4cf1c51827eab11032 | |
parent | 354ffc19da98affe325f6d15f3a4a4b762278d73 (diff) | |
download | prosody-9c52fff28b05453dd596851c6773c87f698a597b.tar.gz prosody-9c52fff28b05453dd596851c6773c87f698a597b.zip |
util.sasl.anonymous: Shorter!
-rw-r--r-- | util/sasl/anonymous.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/anonymous.lua b/util/sasl/anonymous.lua index a5b0f749..de98a5e2 100644 --- a/util/sasl/anonymous.lua +++ b/util/sasl/anonymous.lua @@ -12,7 +12,7 @@ -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -local generate_random_id = require "util.id".long; +local generate_random_id = require "util.id".medium; local _ENV = nil; -- luacheck: std none |