diff --git a/otouto/plugins/isup.lua b/otouto/plugins/isup.lua index e43e745..9c85b06 100644 --- a/otouto/plugins/isup.lua +++ b/otouto/plugins/isup.lua @@ -1,7 +1,5 @@ local isup = {} -local socket = require('socket') - function isup:init(config) isup.triggers = { "^/isup (.*)$", diff --git a/otouto/utilities.lua b/otouto/utilities.lua index 0307c00..7da146e 100644 --- a/otouto/utilities.lua +++ b/otouto/utilities.lua @@ -6,6 +6,7 @@ local utilities = {} ltn12 = require('ltn12') http = require('socket.http') https = require('ssl.https') +socket = require('socket') URL = require('socket.url') json = require('dkjson') serpent = require("serpent")