diff options
author | Azul <azul@riseup.net> | 2016-05-25 14:56:20 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-05-25 14:56:20 +0200 |
commit | 9598e42722c13030b757b7b4ab47de0d50228d5c (patch) | |
tree | 57e92123d84c8edfd9ab09fad2359bbbacb1e572 /lib/nickserver | |
parent | c90b23b4b4a4f550d6e2f0ce6dc0cc2b6fc1a2d5 (diff) |
silence some warnings from evma_httpserver
Diffstat (limited to 'lib/nickserver')
-rw-r--r-- | lib/nickserver/server.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/nickserver/server.rb b/lib/nickserver/server.rb index 8329406..2db2942 100644 --- a/lib/nickserver/server.rb +++ b/lib/nickserver/server.rb @@ -1,3 +1,4 @@ +require 'kernel_ext' require 'eventmachine' require 'evma_httpserver' require 'json' @@ -64,7 +65,9 @@ module Nickserver response.status = options[:status] response.content_type options[:content_type] response.content = options[:content] - response.send_response + silence_warnings do + response.send_response + end end def send_key(uid) |