Changeset

394:c2e959b60c13

plugins.smacks: explicitly import luasocket which stops setting globals in new versions
author Kim Alvefur <zash@zash.se>
date Thu, 03 Sep 2015 21:46:57 +0200
parents 393:69229fa1d24f
children 395:e86144a4eaa1
files plugins/smacks.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/smacks.lua	Thu Aug 27 14:22:25 2015 +0200
+++ b/plugins/smacks.lua	Thu Sep 03 21:46:57 2015 +0200
@@ -1,5 +1,5 @@
 local verse = require "verse";
-local now = socket.gettime;
+local now = require"socket".gettime;
 
 local xmlns_sm = "urn:xmpp:sm:2";