ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/irc.c
(Generate patch)

Comparing hopm/trunk/src/irc.c (file contents):
Revision 5193 by michael, Mon Dec 29 15:12:49 2014 UTC vs.
Revision 5198 by michael, Mon Dec 29 16:53:16 2014 UTC

# Line 606 | Line 606 | irc_timer(void)
606  
607    delta = present - IRC_LAST;
608  
609 <  /* No data in NODATA_TIMEOUT minutes (set in options.h). */
610 <  if (delta >= NODATA_TIMEOUT)
609 >  /* No data in IRCItem->readtimeout seconds */
610 >  if (delta >= IRCItem->readtimeout)
611    {
612      log_printf("IRC -> Timeout awaiting data from server.");
613      irc_reconnect();
# Line 615 | Line 615 | irc_timer(void)
615      /* Make sure we dont do this again for a while */
616      time(&IRC_LAST);
617    }
618 <  else if (delta >= NODATA_TIMEOUT / 2)
618 >  else if (delta >= IRCItem->readtimeout / 2)
619    {
620      /*
621       * Generate some data so high ping times or bugs in certain

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines