about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-18 00:17:45 +0100
committerJames Booth <boothj5@gmail.com>2015-10-18 00:17:45 +0100
commit9d2745e462eabafcab51e04ec9ad225a13cf9a6f (patch)
treec27b019ad93cfee1da7a9b02152b6bcf32ae95ca /src/main.c
parent31ecd41c8fd69fbe7a62e97b0cc5e2583e3447e3 (diff)
downloadprofani-tty-9d2745e462eabafcab51e04ec9ad225a13cf9a6f.tar.gz
Removed --disable-tls command line option
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 49e1defc..42730049 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,7 +42,6 @@
 #include "profanity.h"
 #include "command/command.h"
 
-static gboolean disable_tls = FALSE;
 static gboolean version = FALSE;
 static char *log = "INFO";
 static char *account_name = NULL;
@@ -58,7 +57,6 @@ main(int argc, char **argv)
     static GOptionEntry entries[] =
     {
         { "version", 'v', 0, G_OPTION_ARG_NONE, &version, "Show version information", NULL },
-        { "disable-tls", 'd', 0, G_OPTION_ARG_NONE, &disable_tls, "Disable TLS", NULL },
         { "account", 'a', 0, G_OPTION_ARG_STRING, &account_name, "Auto connect to an account on startup" },
         { "log",'l', 0, G_OPTION_ARG_STRING, &log, "Set logging levels, DEBUG, INFO (default), WARN, ERROR", "LEVEL" },
         { NULL }
@@ -137,7 +135,7 @@ main(int argc, char **argv)
         return 0;
     }
 
-    prof_run(disable_tls, log, account_name);
+    prof_run(log, account_name);
 
     return 0;
 }