about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-06 01:49:27 +0100
committerJames Booth <boothj5@gmail.com>2016-05-06 01:49:27 +0100
commitb6c4a2029ff34a8f0824c5241508fbd550044c21 (patch)
treef0a1aabf37bdf6b8ac11afeb640744041665a451 /src/command/commands.c
parent8950dbb768cc29d8ed020a1355c7733275aaf998 (diff)
downloadprofani-tty-b6c4a2029ff34a8f0824c5241508fbd550044c21.tar.gz
Move conn is secure function
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 8354465f..b7314871 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -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 (!session_conn_is_secured()) {
+    if (!connection_conn_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 (!session_conn_is_secured()) {
+        if (!connection_conn_is_secured()) {
             cons_show("No TLS connection established");
             return TRUE;
         }