mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
Cleaned up whitespace, now all indentation is done with 1 tab character
This commit is contained in:
parent
8f8feb00d7
commit
48ee749bb7
4
init.lua
4
init.lua
@ -83,6 +83,7 @@ function meta_preconnect:connect(server, port, timeout)
|
|||||||
self.channels = {}
|
self.channels = {}
|
||||||
|
|
||||||
s:settimeout(0)
|
s:settimeout(0)
|
||||||
|
|
||||||
repeat
|
repeat
|
||||||
self:think()
|
self:think()
|
||||||
until self.authed
|
until self.authed
|
||||||
@ -118,8 +119,7 @@ end
|
|||||||
function meta:think()
|
function meta:think()
|
||||||
while true do
|
while true do
|
||||||
local line = getline(self, 3)
|
local line = getline(self, 3)
|
||||||
if line then
|
if line then
self:handle(parse(line))
|
||||||
self:handle(parse(line))
|
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user