private $numeric;
+ private $server;
private $nick;
private $ident;
private $host;
return $this->numeric;
}
+ public function getServer() {
+ return $this->server;
+ }
+
public function setNick($nick) {
$this->nick = $nick;
}
trigger_error("Tried to remove a Channel, that does NOT exist.", E_USER_WARNING);
}
}
+
+ public function getChannels() {
+ return $this->channels;
+ }
+
+ public function isOnChannel($channel) {
+ return array_key_exists(strtolower($channel->getName()),$this->channels);
+ }
}
?>
\ No newline at end of file