diff options
author | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
commit | 43351d2b54f7d8451a0e1ada7a72514c1ae1e396 (patch) | |
tree | 69239d940028f6a8a29b1f6b0524d932d1553c7b /net/server_event.lua | |
parent | ece896d2532cc91ea95c0194e3db439c364235eb (diff) | |
download | prosody-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.lua | 6 |
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 |