diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-15 21:24:54 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-15 21:24:54 +0200 | 
| commit | 115b2bcd38a3bbce0783df5259f9e11658259c01 (patch) | |
| tree | 02abb5ac8409ae71e08be7ee2ee7e62c961749f2 /lib | |
| parent | e833e6d3fa4b46b57feae0b26002f3461e6a5191 (diff) | |
| download | edoors-ruby-115b2bcd38a3bbce0783df5259f9e11658259c01.zip edoors-ruby-115b2bcd38a3bbce0783df5259f9e11658259c01.tar.gz | |
Room: route_p variable r->child
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/evendoors/room.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb index f865136..caaf565 100644 --- a/lib/evendoors/room.rb +++ b/lib/evendoors/room.rb @@ -121,8 +121,8 @@ module EvenDoors                  end              elsif (p.room=~/^#{path}\/(.*)/)==0                  room, *more = $1.split EvenDoors::PATH_SEP -                if r=@spots[room] -                    r.route_p p +                if child=@spots[room] +                    child.route_p p                  else                      p.error! EvenDoors::ERROR_ROUTE_DDWR                  end | 
