Handle also zero timeouts.
[runtime.git] / apps / irssi / src / silc / core / silc-core.c
index aadf2662454d64ff3c0991d351bf46d4f1eae9f2..8b6f9f74ed50fc08326068ad805b09a3c27d86d0 100644 (file)
@@ -122,11 +122,6 @@ static void scheduler_notify_cb(SilcSchedule schedule,
       /* Add timeout */
       guint t;
 
-      /* Zero timeouts are delievered always immediately, as per
-        SilcSchedule API documentation, no need to add them to glib. */
-      if (!seconds && !useconds)
-       return;
-
       t = (seconds * 1000) + (useconds / 1000);
       SILC_LOG_DEBUG(("interval %d msec", t));
       g_timeout_add(t, my_silc_scheduler, NULL);
@@ -775,6 +770,7 @@ void silc_core_init(void)
   /* Initialize client parameters */
   memset(&params, 0, sizeof(params));
   strcat(params.nickname_format, settings_get_str("nickname_format"));
+  params.full_channel_names = TRUE;
 
   /* Allocate SILC client */
   silc_client = silc_client_alloc(&ops, &params, NULL, silc_version_string);