# HG changeset patch # User Kim Alvefur # Date 1441309617 -7200 # Node ID c2e959b60c1331fd5a5b177690bf2a98322561ea # Parent 69229fa1d24f52e5e125a67629d7f4f7e580a1cb plugins.smacks: explicitly import luasocket which stops setting globals in new versions diff -r 69229fa1d24f -r c2e959b60c13 plugins/smacks.lua --- 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";