cvs: pear /Net_GameServerQuery/GameServerQuery Protocol.php
| From: | Tom Buskens | Date: | Sun, 29 Aug 2004 12:16:33 +0000 |
| Subject: | cvs: pear /Net_GameServerQuery/GameServerQuery Protocol.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-23482@lists.php.net to get a copy of this message | ||
ortega Sun Aug 29 08:16:33 2004 EDT
Modified files:
/pear/Net_GameServerQuery/GameServerQuery Protocol.php
Log:
changed the way players are stored
http://cvs.php.net/diff.php/pear/Net_GameServerQuery/GameServerQuery/Protocol.php?r1=1.25&r2=1.26&ty=u
Index: pear/Net_GameServerQuery/GameServerQuery/Protocol.php
diff -u pear/Net_GameServerQuery/GameServerQuery/Protocol.php:1.25
pear/Net_GameServerQuery/GameServerQuery/Protocol.php:1.26
--- pear/Net_GameServerQuery/GameServerQuery/Protocol.php:1.25 Sat Aug 28 12:08:57 2004
+++ pear/Net_GameServerQuery/GameServerQuery/Protocol.php Sun Aug 29 08:16:33 2004
@@ -16,7 +16,7 @@
// | Tom Buskens <ortega@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Protocol.php,v 1.25 2004/08/28 16:08:57 aidan Exp $
+// $Id: Protocol.php,v 1.26 2004/08/29 12:16:33 ortega Exp $
/**
@@ -26,7 +26,7 @@
* @package Net_GameServerQuery
* @author Tom Buskens <ortega@php.net>
* @author Aidan Lister <aidan@php.net>
- * @version $Revision: 1.25 $
+ * @version $Revision: 1.26 $
*/
interface Net_GameServerQuery_Protocol_Interface
{
@@ -41,7 +41,7 @@
* @package Net_GameServerQuery
* @author Tom Buskens <ortega@php.net>
* @author Aidan Lister <aidan@php.net>
- * @version $Revision: 1.25 $
+ * @version $Revision: 1.26 $
*/
abstract class Net_GameServerQuery_Protocol implements Net_GameServerQuery_Protocol_Interface
{
@@ -166,7 +166,7 @@
protected function _addPlayer($name, $value)
{
// Player var is already set, so it must belong to the next player
- if (isset($this->_output['players'][$this->_player_index][$name])) {
+ if (isset($this->_output[$this->_player_index][$name])) {
++$this->_player_index;
}
@@ -241,4 +241,4 @@
}
-?>
\ No newline at end of file
+?>