aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-03-07 00:13:56 +0100
committerKim Alvefur <zash@zash.se>2022-03-07 00:13:56 +0100
commit43351d2b54f7d8451a0e1ada7a72514c1ae1e396 (patch)
tree69239d940028f6a8a29b1f6b0524d932d1553c7b /net/server_event.lua
parentece896d2532cc91ea95c0194e3db439c364235eb (diff)
downloadprosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.tar.gz
prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.zip
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work Maybe I missed something.
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 139c7e5f..c30181b8 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -262,7 +262,7 @@ end
--TODO: Deprecate
function interface_mt:lock_read(switch)
- log("warn", ":lock_read is deprecated, use :pasue() and :resume()");
+ log("warn", ":lock_read is deprecated, use :pause() and :resume()");
if switch then
return self:pause();
else
@@ -540,7 +540,7 @@ local function handleclient( client, ip, port, server, pattern, listener, sslctx
--vdebug( "tried to read in writecallback, result:", ret )
end
if interface.eventwritetimeout then -- luasec only
- interface.eventwritetimeout:close( ) -- first we have to close timeout event which where regged after a wantread error
+ interface.eventwritetimeout:close( ) -- first we have to close timeout event which where registered after a wantread error
interface.eventwritetimeout = false
end
end
@@ -607,7 +607,7 @@ local function handleclient( client, ip, port, server, pattern, listener, sslctx
return -1 -- took too long to get some data from client -> disconnect
end
if interface._usingssl then -- handle luasec
- if interface.eventwritetimeout then -- ok, in the past writecallback was regged
+ if interface.eventwritetimeout then -- ok, in the past writecallback was registered
local ret = interface.writecallback( ) -- call it
--vdebug( "tried to write in readcallback, result:", tostring(ret) )
end