[Phpfreechat-svn] SF.net SVN: phpfreechat: [586] trunk/src/commands/connect.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-15 12:24:06
|
Revision: 586 Author: kerphi Date: 2006-06-15 05:23:54 -0700 (Thu, 15 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=586&view=rev Log Message: ----------- Simplify and optimize the code Modified Paths: -------------- trunk/src/commands/connect.class.php Modified: trunk/src/commands/connect.class.php =================================================================== --- trunk/src/commands/connect.class.php 2006-06-15 12:10:24 UTC (rev 585) +++ trunk/src/commands/connect.class.php 2006-06-15 12:23:54 UTC (rev 586) @@ -14,9 +14,8 @@ $container =& $c->getContainerInstance(); $disconnected_users = $container->removeObsoleteNick(NULL, $c->timeout); - // setup some user meta - $nickid = $container->getNickId($u->nick); + $nickid = $u->nickid; // store the user ip $container->setMeta($_SERVER["REMOTE_ADDR"], "ip", "nickname", $nickid); // store the admin flag This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |