Update irc.php

This commit is contained in:
deutor
2016-08-25 11:44:04 +02:00
committed by GitHub
parent 7c9a176d63
commit 55a962e02f

View File

@@ -178,7 +178,6 @@ class ircbot {
if($this->config['irc_conn_timeout']) {
$inactive_seconds = time() - $this->last_activity;
$max_inactive = $this->config['irc_conn_timeout'];
if( $inactive_seconds > $max_inactive) {
$this->log("No data from server since " . $max_inactive . " seconds. Restarting.");
break;