From af1f71c25d2733683cfaf384a56bd4349f871872 Mon Sep 17 00:00:00 2001 From: "Lem()nTea_" Date: Sat, 29 Nov 2014 11:07:36 +0900 Subject: [PATCH] Oops --- plugin/src/ifteam/CustomPacket/CustomSocket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/ifteam/CustomPacket/CustomSocket.php b/plugin/src/ifteam/CustomPacket/CustomSocket.php index d125816..b3d863a 100644 --- a/plugin/src/ifteam/CustomPacket/CustomSocket.php +++ b/plugin/src/ifteam/CustomPacket/CustomSocket.php @@ -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;