1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Use current()

This commit is contained in:
Tim Düsterhus 2012-01-03 13:10:46 +01:00
parent b6a1577d0f
commit a942396b7c

View File

@ -29,7 +29,7 @@ public function isVisible() {
do { do {
$cache->seek($i++); $cache->seek($i++);
$this->room = $cache->search($cache->key()); $this->room = $cache->current();
} }
while (!$this->room->canEnter()); while (!$this->room->canEnter());