예제 #1
0
파일: Connection.php 프로젝트: nkreer/Fish
 /**
  * @param Channel $channel
  * @return bool
  */
 public function isInChannel(Channel $channel)
 {
     return isset($this->channels[$channel->getName()]);
 }
예제 #2
0
파일: User.php 프로젝트: nkreer/Fish
 /**
  * @param Channel $channel
  * @param String $mode
  */
 public function takeMode(Channel $channel, string $mode)
 {
     $this->connection->sendData("MODE " . $channel->getName() . " -" . $mode . " " . $this->getNick());
 }