Esempio n. 1
0
 /**
  * @param Channel $channel
  * @return bool
  */
 public function isInChannel(Channel $channel)
 {
     return isset($this->channels[$channel->getName()]);
 }
Esempio n. 2
0
File: User.php Progetto: nkreer/Fish
 /**
  * @param Channel $channel
  * @param String $mode
  */
 public function takeMode(Channel $channel, string $mode)
 {
     $this->connection->sendData("MODE " . $channel->getName() . " -" . $mode . " " . $this->getNick());
 }