mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-19 00:15:28 +01:00
@@ -1,8 +1,10 @@
|
||||
-- This file is licensed under the terms of the BSD 2-clause license.
|
||||
-- See LICENSE.txt for details.
|
||||
|
||||
local ie = ...
|
||||
|
||||
-- MIME is part of LuaSocket
|
||||
local b64e = require("mime").b64
|
||||
local b64e = ie.require("mime").b64
|
||||
|
||||
irc.hooks = {}
|
||||
irc.registered_hooks = {}
|
||||
@@ -252,7 +254,7 @@ function irc.hooks.preregister(conn)
|
||||
conn:send("CAP REQ sasl")
|
||||
conn:send("AUTHENTICATE PLAIN")
|
||||
conn:send("AUTHENTICATE "..authString)
|
||||
--LuaIRC will send CAP END
|
||||
conn:send("CAP END")
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user