Revision: 508
Author: kerphi
Date: 2006-05-26 13:54:59 -0700 (Fri, 26 May 2006)
ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=508&view=rev
Log Message:
-----------
Adapte the code to the new container data model
Modified Paths:
--------------
trunk/src/commands/getonlinenick.class.php
Modified: trunk/src/commands/getonlinenick.class.php
===================================================================
--- trunk/src/commands/getonlinenick.class.php 2006-05-26 14:32:01 UTC (rev 507)
+++ trunk/src/commands/getonlinenick.class.php 2006-05-26 20:54:59 UTC (rev 508)
@@ -27,7 +27,11 @@
// check if the nickname list must be updated
if ($oldnicklist != $users)
{
- if ($c->debug) pxlog("/getonlinenick (nicklist updated - nicklist=".implode(",",$users).")", "chat", $c->getId());
+ if ($c->debug)
+ {
+ $nicklist = array(); foreach($users as $u) $nicklist[] = $u["nick"]; $nicklist = implode(",",$nicklist);
+ pxlog("/getonlinenick (nicklist updated - nicklist=".$nicklist.")", "chat", $c->getId());
+ }
$_SESSION[$nicklist_sid] = $users;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|