mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update irc.php
This commit is contained in:
1
irc.php
1
irc.php
@@ -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;
|
||||
|
Reference in New Issue
Block a user