MOGA672002 Posted May 22, 2018 Share Posted May 22, 2018 function func_ircRaw (server,data) if servers[server][15] then writeLog("-> "..data) return sockWrite(servers[server][1],data.."\r\n") end table.insert(servers[server][16],data) return true end registerFunction("ircRaw","func_ircRaw","irc-server","string") this line if servers[server][15] then Link to comment
TEDERIs Posted May 23, 2018 Share Posted May 23, 2018 Just checking a connection status to determine whether a server is connected or not. It's very bad coding standard, indeed. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now