Handle also zero timeouts.
[silc.git] / apps / irssi / src / silc / core / silc-core.c
index 4385a2a2e49292ddfd4366ee0df98d1140e327d8..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);