[TASK] Fixed: now using getter instead of protected property.
This commit is contained in:
parent
23ca3e0554
commit
4c9f5ba7f3
|
@ -22,15 +22,15 @@ class Client_BotClient extends Client_AbstractClient {
|
|||
*/
|
||||
public function processContentObject($contentObject) {
|
||||
$return = "";
|
||||
$data = $contentObject->rawData;
|
||||
$data = $contentObject->getRawData();
|
||||
if(strpos($data, "-") !== FALSE ) {
|
||||
$data = explode("-", $data);
|
||||
$data = explode("-", $data, 2);
|
||||
$this->clientManager->sendToID((int) $data[0], $data[1]."\r\n");
|
||||
$return = print_r($data, TRUE);
|
||||
}
|
||||
|
||||
if(strpos($data, "+") !== FALSE ) {
|
||||
$data = explode("+", $data);
|
||||
$data = explode("+", $data, 2);
|
||||
$this->clientManager->sendToGroup($data[0], $data[1]."\r\n");
|
||||
$return = print_r($data, TRUE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue