diff options
author | Azul <azul@riseup.net> | 2016-09-21 12:48:11 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-09-21 12:48:11 +0200 |
commit | 6f507ed7b4f53054313173ce795ffd2cbcecd0b7 (patch) | |
tree | b40778b15d9ea82012d7e8330ac8dbf262f58ca2 /lib/nickserver/dispatcher.rb | |
parent | dd71240fe4f4f968b9b687917cb6d7ad5812ba48 (diff) |
feature: activate nicknym lookup
Diffstat (limited to 'lib/nickserver/dispatcher.rb')
-rw-r--r-- | lib/nickserver/dispatcher.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/nickserver/dispatcher.rb b/lib/nickserver/dispatcher.rb index 9968e95..75f6083 100644 --- a/lib/nickserver/dispatcher.rb +++ b/lib/nickserver/dispatcher.rb @@ -14,8 +14,10 @@ # require 'nickserver/request' +require 'nickserver/handler_chain' require 'nickserver/request_handlers/invalid_email_handler' require 'nickserver/request_handlers/local_email_handler' +require 'nickserver/request_handlers/leap_email_handler' require 'nickserver/request_handlers/hkp_email_handler' require 'nickserver/request_handlers/fingerprint_handler' @@ -45,6 +47,7 @@ module Nickserver def handler_chain HandlerChain.new RequestHandlers::InvalidEmailHandler, RequestHandlers::LocalEmailHandler, + RequestHandlers::LeapEmailHandler, RequestHandlers::HkpEmailHandler, RequestHandlers::FingerprintHandler, Proc.new { Nickserver::Response.new(404, "404 Not Found\n") } |