diff options
Diffstat (limited to 'server.rb')
-rwxr-xr-x | server.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -179,6 +179,10 @@ def process_next reply return end $lock = true # lock + if !data['name'] || data['name'] == "" + $status = "Error: Name not given." + return + end if data['key'] != SESSION_KEY $status = "Error: Key mismatch (#{data['key']}, #{SESSION_KEY})" return |