original_string: public function handleNicknameInUse(ServerEvent $event, Queue $queue)
      {
          // Don't listen if ghost isn't enabled, or this isn't the first nickname-in-use error
          if (!$this->ghostEnabled || $this->ghostNick !== null) {
              return;
          }
  
          // Save the nick, so that we can send a ghost request once registration is complete
          $params = $event->getParams();
          $this->ghostNick = $params[1];
      }
code: public function handleNicknameInUse(ServerEvent $event, Queue $queue)
      {
          // Don't listen if ghost isn't enabled, or this isn't the first nickname-in-use error
          if (!$this->ghostEnabled || $this->ghostNick !== null) {
              return;
          }
  
          // Save the nick, so that we can send a ghost request once registration is complete
          $params = $event->getParams();
          $this->ghostNick = $params[1];
      }
code_tokens: public function handleNicknameInUse ( ServerEvent $ event , Queue $ queue ) { // Don't listen if ghost isn't enabled, or this isn't the first nickname-in-use error if ( ! $ this -> ghostEnabled || $ this -> ghostNick !== null ) { return ; } // Save the nick, so that we can send a ghost request once registration is complete $ params = $ event -> getParams ( ) ; $ this -> ghostNick = $ params [ 1 ] ; }
docstring: Kick-starts the ghost process.
  
  @param \Phergie\Irc\Event\ServerEventInterface $event
  @param \Phergie\Irc\Bot\React\EventQueueInterface $queue
docstring_tokens: Kick - starts the ghost process .