diff options
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) |