isencrypted
Table of Contents
Synopsis:
$isencrypted(<server refnum>)
Arguments
- <server refnum> : integer (Optional) - A server refnum. Defaults to the current server
Return value
Return Value | Condition |
---|---|
1 | The server refnum is connected to irc and is using an SSL/TLS socket |
0 | Any other condition (refnum is invalid; not connected to that server; not using ssl with that server) |
See Also
Since 0 can mean several things, you can use serverctl to see if a refnum is invalid, or if the server is not connected yet.
History:
This function was part of EPIC-SSL. It first appeared in EPIC4-1.1.3
isencrypted.txt · Last modified: 2021/10/19 20:37 by 127.0.0.1