summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-09-21 12:48:11 +0200
committerAzul <azul@riseup.net>2016-09-21 12:48:11 +0200
commit6f507ed7b4f53054313173ce795ffd2cbcecd0b7 (patch)
treeb40778b15d9ea82012d7e8330ac8dbf262f58ca2 /lib
parentdd71240fe4f4f968b9b687917cb6d7ad5812ba48 (diff)
feature: activate nicknym lookup
Diffstat (limited to 'lib')
-rw-r--r--lib/nickserver/dispatcher.rb3
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") }