Skip to content

Commit bce6f60

Browse files
committed
online false on disconnect
1 parent 66d35d7 commit bce6f60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/TeamSpeak3Bot.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ public function onTimeout($time, AbstractAdapter $adapter)
488488

489489
public function onDisconnect()
490490
{
491+
$this->online = false;
491492
$this->timer->stop();
492493
$this->printOutput("Nimda finished total runtime: " . Convert::seconds($this->timer->getRuntime()) . " seconds, Using " . Convert::bytes($this->timer->getMemUsage()) . " memory.");
493494
}

0 commit comments

Comments
 (0)