Remove redundant tls secured function

This commit is contained in:
James Booth
2016-05-06 02:18:31 +01:00
parent c009144b3d
commit 81e95966cf
12 changed files with 14 additions and 22 deletions

View File

@@ -232,7 +232,7 @@ cmd_tls_trust(ProfWin *window, const char *const command, gchar **args)
cons_show("You are not currently connected.");
return TRUE;
}
if (!connection_conn_is_secured()) {
if (!connection_is_secured()) {
cons_show("No TLS connection established");
return TRUE;
}
@@ -330,7 +330,7 @@ cmd_tls_cert(ProfWin *window, const char *const command, gchar **args)
cons_show("You are not currently connected.");
return TRUE;
}
if (!connection_conn_is_secured()) {
if (!connection_is_secured()) {
cons_show("No TLS connection established");
return TRUE;
}