summaryrefslogtreecommitdiff
path: root/lib/nickserver/reel_server.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-09-30 12:46:41 +0200
committerAzul <azul@riseup.net>2016-09-30 12:46:41 +0200
commitc3499f703245b6493ddc94d27542a4b49a9bfc81 (patch)
tree6d5049797bf72fe4f227ff8df612c5556c9d9341 /lib/nickserver/reel_server.rb
parent0d4a43cf03f4efeeed1d380c931ab72184346ea1 (diff)
logger: log celluloid errors to default log
Diffstat (limited to 'lib/nickserver/reel_server.rb')
-rw-r--r--lib/nickserver/reel_server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nickserver/reel_server.rb b/lib/nickserver/reel_server.rb
index 0ff4425..c378aca 100644
--- a/lib/nickserver/reel_server.rb
+++ b/lib/nickserver/reel_server.rb
@@ -15,6 +15,7 @@ module Nickserver
end
def initialize(host = "127.0.0.1", port = 3000)
+ Celluloid.logger = logger
super(host, port, &method(:on_connection))
end