I think this conditional can be simplified to something more like:

```php
if (!empty($msg)) {
    $this->msg($msg)
}

$this->listen(true)
```