diff --git a/parser.inc.php b/parser.inc.php index 166c425..d742d2e 100644 --- a/parser.inc.php +++ b/parser.inc.php @@ -678,9 +678,9 @@ class mtgMetaInfoParser { return $this->_nextIf(self::T_End); } ); - $req = new mtgMetaPacket($code, $is_global ? "RPC_REQ_$name" : "REQ_$name"); + $req = new mtgMetaPacket($code, $is_global ? "RPC_REQ_$name" : "Request"); $req->setFields($req_fields); - $rsp = new mtgMetaPacket($code, $is_global ? "RPC_RSP_$name" : "RSP_$name"); + $rsp = new mtgMetaPacket($code, $is_global ? "RPC_RSP_$name" : "Response"); $rsp->setFields($rsp_fields); $rpc = new mtgMetaRPC($is_global ? "RPC_$name" : $name, $code, $req, $rsp, $tokens);