[TASK] Implemented the ProtocolHandler things so it works again.
[TASK] Added some comments. [TASK] Added TODOs concerning refactoring and more functions that are needed.
This commit is contained in:
@@ -39,7 +39,7 @@ class Client_IrcClient extends Client_AbstractClient {
|
||||
* Processes the resulting ContentObject from a ProtocolHandler.
|
||||
* Does all the hard work.
|
||||
* @param string $data
|
||||
* @return string
|
||||
* @return void
|
||||
*/
|
||||
public function processContentObject($contentObject) {
|
||||
$data = $contentObject->rawData;
|
||||
@@ -68,8 +68,8 @@ class Client_IrcClient extends Client_AbstractClient {
|
||||
$return .= "QUIT :lol\r\n";
|
||||
}
|
||||
|
||||
//if($return !== "") echo "[SEND] ".$return;
|
||||
return $return;
|
||||
//workaround. will be removed soon
|
||||
$this->protocolHandler->sendRaw($return);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user