Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Lem()nTea_ committed Nov 29, 2014
1 parent 7ab4d5d commit af1f71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/ifteam/CustomPacket/CustomSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function run(){
$buffer = $address = $port = NULL;
if($this->recvPacket($buffer, $address, $port) !== false){
echo 'GOTCHA!! from: '.$address.':'.$port.', data: '.$buffer.PHP_EOL;
$plugin->callEvent('rcv', array('rawstring' => $buffer, 'ip' => $address, 'port' => $port));
$plugin->callEvent('recv', array('rawstring' => $buffer, 'ip' => $address, 'port' => $port));

$message = 'You sent "'. $buffer .'" to me! WOW!';
echo 'responding to: '.$address.':'.$port.', data: '.$message.$buffer.PHP_EOL;
Expand Down

0 comments on commit af1f71c

Please sign in to comment.