mIRC Homepage
Posted By: westor $ssl - bug - 05/11/11 12:49 PM
Hello,

I have test to see what the $ssl alias does and i open the help file read that "the $ssl identifier can be used to determine whether the current server connection is secure or not." and i used //echo -a $ssl the result was $true while i was not connected to any server! when i connect to an none ssl support IRC server and use //echo -a $ssl the result was $false (correct) , then i disconnect and connect to an ssl support IRC server and use the //echo -a $ssl the result was $true (correct) BUT when i disconnect and use the //echo -a $ssl the result was $true (bug) . If i am wrong please correct me!

- Thanks!
Posted By: drum Re: $ssl - bug - 05/11/11 01:12 PM
When you aren't connected to a server, it appears that it is reporting true/false based on whether the currently selected server (i.e., the server currently listed in the title bar of the status window) uses SSL or not. This is probably intentional behavior. If you need to ensure that you are currently connected to an SSL server, you can also verify that $server exists.
Posted By: westor Re: $ssl - bug - 05/11/11 01:17 PM
My title bar the server that is there has is not supporting ssl when i use //echo -a $ssl the result is again $true but this must be $false for 2 reasons 1. not connected 2. the titlebar server is not supporting ssl!
Posted By: drum Re: $ssl - bug - 05/11/11 01:58 PM
Interesting. If you have a server window in that state (i.e., disconnected, with a non-SSL server listed in the titlebar of the window, and $ssl returns true), what happens if you press the connect button? Does it display a plus sign next the port number when connecting?

By that, I mean this:

Code:
* Connecting to irc.dal.net (+6667)
                             ^-- here
Posted By: westor Re: $ssl - bug - 05/11/11 02:16 PM
Nice so you mean the $port identifier to return the ssl port of the server and you mean that if the $port is not an ssl the $ssl will return $false and if the $port is ssl the $ssl will return $true ? if you mean this so the help file was wrong written because it says "the $ssl identifier can be used to determine whether the current server connection is secure or not." that must be change with "the $ssl identifier can be used to determine whether the $port identifier server port is secure or not."
Posted By: Riamus2 Re: $ssl - bug - 05/11/11 02:55 PM
If $ssl is based on what the port is, then I think it would be better to just adjust this so it also checks $status instead of changing the help file. I don't think there is any real need for $ssl to return $true while not connected.
Posted By: westor Re: $ssl - bug - 05/11/11 02:58 PM
+1 Riamus2 , you have been understand me what i am trying to say!
© mIRC Discussion Forums