/**
  * Enqueues a new event.
  *
  * @param \Phergie\Irc\Event\UserEventInterface
  * @param string $command
  * @param array $params
  */
 protected function queueRequest(UserEventInterface $event, $command, array $params)
 {
     $event->setPrefix($this->prefix);
     $event->setCommand($command);
     $event->setParams(array_filter($params));
     $this->queue->insert($event, $this->getPriority($command, $params));
 }