updates.
[silc.git] / apps / irssi / src / silc / core / silc-core.c
index ffc5e2a7f77368fb651e2f7b1df8392e8851d7f6..d66a059584766cd3979753c352d75c5578a65a8f 100644 (file)
@@ -57,7 +57,8 @@ static int idletag;
 SilcClient silc_client = NULL;
 SilcClientConfig silc_config = NULL;
 extern SilcClientOperations ops;
-extern int silc_debug;
+extern bool silc_debug;
+extern bool silc_debug_hexdump;
 #ifdef SILC_SIM
 /* SIM (SILC Module) table */
 SilcSimContext **sims = NULL;
@@ -270,6 +271,7 @@ void silc_core_init_finish(void)
 
   if (opt_debug) {
     silc_debug = TRUE;
+    silc_debug_hexdump = TRUE;
     silc_log_set_debug_string(opt_debug);
     silc_log_set_callbacks(silc_log_info, silc_log_warning,
                           silc_log_error, NULL);