1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-06-28 14:16:07 +02:00

Set metatable to _preconnect when disconnected and add connected field

This commit is contained in:
ShadowNinja
2014-09-02 19:01:20 +01:00
parent e216ce4b23
commit e74ad783a0
2 changed files with 6 additions and 2 deletions

View File

@ -130,6 +130,7 @@ function irc:shutdown()
-- @name Connection
-- @class table
-- @field authed Boolean indicating whether the connection has completed registration.
-- @field connected Whether the connection is currently connected.
-- @field motd The server's message of the day. Can be nil.
-- @field nick The current nickname.
-- @field realname The real name sent to the server.