diff options
author | Ayonix <github@leva.xyz> | 2016-01-06 06:19:12 +0100 |
---|---|---|
committer | Ayonix <github@leva.xyz> | 2016-01-06 06:55:21 +0100 |
commit | 6f2fba37237ff6466ed1b816c9e75afbfd200064 (patch) | |
tree | 6e6c315deafeeba2993580415fefa9e264b57a97 /lib | |
parent | Merge pull request #34 from manukall/use_simple_one_for_one_supervisor_for_cl... (diff) |
Fix pong message
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exirc/client.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exirc/client.ex b/lib/exirc/client.ex index b53a0c3..ed8a066 100644 --- a/lib/exirc/client.ex +++ b/lib/exirc/client.ex @@ -641,7 +641,7 @@ defmodule ExIrc.Client do case msg do %IrcMessage{:args => [from]} -> if state.debug?, do: debug("SENT PONG2") - Transport.send(state, pong2!(state.nick, from)) + Transport.send(state, pong2!(from, msg.server)) _ -> if state.debug?, do: debug("SENT PONG1") Transport.send(state, pong1!(state.nick)) |