mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 19:16:22 +00:00
Remove redundant tls secured function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user