X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=9d4a9c568307017057e56d2fcd6acdc3c314a3a8;hb=3610477b5c8d4a8e1e9996014a81e257ba33c075;hp=b83532ca0514df31769153bf9cc2a913fa203f03;hpb=9fa54af90b8e5fe7acf1c1db401c8d9998c0385e;p=brisk.git diff --git a/web/index.php b/web/index.php index b83532c..9d4a9c5 100644 --- a/web/index.php +++ b/web/index.php @@ -280,7 +280,7 @@ function index_main(&$room, &$header_out, $addr, $get, $post, $cookie) $room->garbage_manager(TRUE); /* try login */ - if (($user = $room->add_user(&$sess, &$idx, $name, $pass_private, $addr)) != FALSE) { + if (($user = $room->add_user(&$sess, &$idx, $name, $pass_private, $addr, $cookie)) != FALSE) { $ACTION = "room"; if ($idx < 0) { $idx = -$idx - 1;