rendered paste body
//MODIFICA ESTA LINHA
function start() {
$modules =& $this->startModules();
$this->loadModules( $modules );
$this->sendInfo();
do {
$this->response = trim(fgets( $this->resource, 4028 ));
$this->showResponse( $this->response );
if(preg_match( '/\:(.+)\s376\s(.+)\:(.+)/', $this->response, $match )) {
$this->connected = true;
}
$this->changeNickname();
$this->setValues();
$this->pong();
$this->joinChannels();
$this->runModules( $modules );
} while(!feof( $this->resource ));
}
//POR ESTA
function start() {
$modules =& $this->startModules();
$this->loadModules( $modules );
$this->sendInfo();
while(!feof( $this->resource )) {
$this->response = trim(fgets( $this->resource, 4028 ));
$this->showResponse( $this->response );
if(preg_match( '/\:(.+)\s376\s(.+)\:(.+)/', $this->response, $match )) {
$this->connected = true;
}
$this->changeNickname();
$this->setValues();
$this->pong();
$this->joinChannels();
$this->runModules( $modules );
}
}