summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Schoenfelder <paulschoenfelder@gmail.com>2013-12-11 19:09:47 -0600
committerPaul Schoenfelder <paulschoenfelder@gmail.com>2013-12-11 19:09:47 -0600
commit507ec9295547727fa8966d478ff75a8404755b91 (patch)
treee2fc3316b742933cd5c98534cfc2a8b5198b9544 /README.md
parentAdd link to documentation in package def (diff)
Update README.md
Fix missing `client` argument in add_handler call.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index a935e3c..eeaabe9 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ defmodule ExampleSupervisor do
{:ok, handler} = ExampleHandler.start_link(nil)
# Register the event handler with ExIrc
- ExIrc.Client.add_handler handler
+ ExIrc.Client.add_handler client, handler
# Connect and logon to a server, join a channel and send a simple message
ExIrc.Client.connect! client, state.host, state.port