mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
Changed some indentation inconsistencies
This commit is contained in:
parent
2120cf9825
commit
eb2326cd79
@ -5,7 +5,7 @@ module "irc"
|
|||||||
local meta = _META
|
local meta = _META
|
||||||
|
|
||||||
function meta:send(fmt, ...)
|
function meta:send(fmt, ...)
|
||||||
self.socket:send(fmt:format(...) .. "\r\n")
|
self.socket:send(fmt:format(...) .. "\r\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
local function sendByMethod(self, method, target, msg)
|
local function sendByMethod(self, method, target, msg)
|
||||||
@ -32,10 +32,10 @@ function meta:join(channel, key)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function meta:part(channel)
|
function meta:part(channel)
|
||||||
self:send("PART %s", channel)
|
self:send("PART %s", channel)
|
||||||
if self.track_users then
|
if self.track_users then
|
||||||
self.channels[channel] = nil
|
self.channels[channel] = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function meta:trackUsers(b)
|
function meta:trackUsers(b)
|
||||||
|
Loading…
Reference in New Issue
Block a user