Skip to content

Commit

Permalink
Fixed bug in 'Custom Servers' section (#69)
Browse files Browse the repository at this point in the history
- `Server.new.run` is required.
  • Loading branch information
robfors authored and ioquatix committed Feb 19, 2018
1 parent 2fd757b commit 2a7e629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -79,7 +79,7 @@ class MyServer < Async::DNS::Server
end

Async::Reactor.run do
task = MyServer.run
task = MyServer.new.run

# ... do other things

Expand Down

0 comments on commit 2a7e629

Please sign in to comment.