summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/evendoors.rb5
-rw-r--r--lib/evendoors/room.rb2
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/evendoors.rb b/lib/evendoors.rb
index 16504b6..305259b 100644
--- a/lib/evendoors.rb
+++ b/lib/evendoors.rb
@@ -6,10 +6,13 @@ module EvenDoors
PATH_SEP = '/'.freeze
LINK_SEP = ','.freeze
ACT_SEP = '?'.freeze
+ #
ACT_GET = 'get'.freeze
- ACT_ADD_LINK = 'add_link'.freeze
+ ACT_FOLLOW = 'follow'.freeze
ACT_ERROR = 'error'.freeze
#
+ SYS_ACT_ADD_LINK = 'sys_add_link'.freeze
+ #
LNK_SRC = 'edoors_lnk_src'.freeze
LNK_DSTS = 'edoors_lnk_dsts'.freeze
LNK_FIELDS = 'edoors_lnk_fields'.freeze
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index 671b529..0ca43bd 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -110,7 +110,7 @@ module EvenDoors
end
#
def process_sys p
- if p.action==ACT_ADD_LINK
+ if p.action==SYS_ACT_ADD_LINK
add_link EvenDoors::Link.from_particle_data p
end
EvenDoors::Twirl.release_p p