Add FORMAT_WHOIS_SECURE for SSL connection info from ratbox, unreal and freenode servers (RPL_WHOISSECURE). Does not support

hybrid yet because it uses numeric 275, which clashes with unreal's RPL_STATSDLINE.

RIP dmr.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@144 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-10-13 12:45:27 +00:00
parent 15f6d8ac06
commit 71cc2bf5f4
5 changed files with 15 additions and 0 deletions

View File

@@ -1676,6 +1676,12 @@ void numbered_command(char *from, int comm, char **ArgList)
display_msg(from, ArgList);
break;
}
case 671: /* #define RPL_WHOISSECURE 671 */
{
/* ratbox / unreal / freenode: <nick> :is using a secure connection */
put_it("%s", convert_output_format(fget_string_var(FORMAT_WHOIS_SECURE_FSET),"%s %s", ArgList[0], ArgList[1]));
break;
}
default:
display_msg(from, ArgList);
}