public function handleCapabilities(
        \Erebot\Interfaces\EventHandler     $handler,
        \Erebot\Event\ServerCapabilities    $event
    ) {
        $module = $event->getModule();
        if ($module->hasExtendedNames()) {
            $this->sendCommand('PROTOCTL NAMESX');
        }
        if ($module->hasUserHostNames()) {
            $this->sendCommand('PROTOCTL UHNAMES');
            $this->hasUHNAMES = true;
        }
    }