diff --git a/include/functions.php b/include/functions.php index d4f7836..40903df 100644 --- a/include/functions.php +++ b/include/functions.php @@ -450,7 +450,11 @@ function getActualLink($logLines, $mode) { $to = ""; if (strpos($logLine,"Starting YSFGateway")) { $to = -1; - }if (strpos($logLine,"Connect to")) { + } + if (strpos($logLine,"DISCONNECT Reply")) { + $to = -1; + } + if (strpos($logLine,"Connect to")) { $to = substr($logLine, 47, 5); } if ($to !== "") { diff --git a/version.php b/version.php index 1393088..201a4ba 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@